I'd like to put the following in a crate that intercepts start-up to
modify argc/argv, and then yield to whatever the normal start-up
procedure is (native, green, call main, etc...).

#[start]
fn start(...) {
  /* pre-process argc/argv */
  call default start-up stuff
}

Currently I'm having to expose my crate's start-up routine and have
the program using the crate handle this start-up process. Is there a
way to have this work transparently within the create?

-Noah
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to