diff options
author | Sebastian Wicki <gandro@gmx.net> | 2016-02-27 14:27:10 +0100 |
---|---|---|
committer | Sebastian Wicki <gandro@gmx.net> | 2016-02-29 19:32:43 +0100 |
commit | 37d4bb95f23a1549bf76fe69280d37eb0e1127b6 (patch) | |
tree | 8bbe53ab0674ccfcc0536b5eebb6e55a78f9d8f0 /src/lib.rs | |
parent | 5d514b6c6afc728a9b4a4c78c84b169e9f53022a (diff) | |
download | rust-libc-37d4bb95f23a1549bf76fe69280d37eb0e1127b6.tar.gz |
Don't link against lib{c,rt} on Rumprun for libstd
The Rumprun linker wrapper already includes -lc when linking. Passing it
twice unfortunately causes binutils to crash with an assertion failure.
Rumprun does currently not provide librt.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index c9d7701aa6..57919c59f9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -74,7 +74,7 @@ ))] // Attributes needed when building as part of the standard library -#![cfg_attr(stdbuild, feature(no_std, core, core_slice_ext, staged_api, custom_attribute))] +#![cfg_attr(stdbuild, feature(no_std, core, core_slice_ext, staged_api, custom_attribute, cfg_target_vendor))] #![cfg_attr(stdbuild, no_std)] #![cfg_attr(stdbuild, staged_api)] #![cfg_attr(stdbuild, allow(warnings))] |