On 24/11/13 20:15, Alex Crichton wrote:
3. My code also marks the function `load_argc_and_argv` in
libstd/os.rs as dead when in fact it isn't. I would guess it's because
that function is only used when compiling the rustc source code on
Mac, whereas I'm compiling it on Linux. How do I modify my code to
take account of that?
The function should probably be #[cfg(target_os = "linux")]

This should be `#[cfg(target_os = "macos")]` since it's only used on Mac.



Huon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to