Skip to content
Snippets Groups Projects
Unverified Commit c6ea4438 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Support crt-static in Redox

parent 173c5be7
No related branches found
No related tags found
No related merge requests found
......@@ -377,8 +377,12 @@ extern {
-> ::ssize_t;
}
#[link(name = "c")]
#[link(name = "m")]
#[cfg_attr(feature = "rustc-dep-of-std",
link(name = "c", kind = "static",
cfg(target_feature = "crt-static")))]
#[cfg_attr(feature = "rustc-dep-of-std",
link(name = "c", cfg(not(target_feature = "crt-static"))))]
extern {}
pub use self::net::*;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment