diff options
Diffstat (limited to 'testing/rust/allow-crt-static-on-stable.patch')
-rw-r--r-- | testing/rust/allow-crt-static-on-stable.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/rust/allow-crt-static-on-stable.patch b/testing/rust/allow-crt-static-on-stable.patch index 2646b3ef94..df4c06bf79 100644 --- a/testing/rust/allow-crt-static-on-stable.patch +++ b/testing/rust/allow-crt-static-on-stable.patch @@ -12,8 +12,8 @@ allows to use it even on stable build. Build dynamically linked binary with rustc or cargo: - $ rustc -C target-feature=+crt-static hello_world.rs - $ RUSTFLAGS="-C target-feature=+crt-static" cargo build + $ rustc -C target-feature=-crt-static hello_world.rs + $ RUSTFLAGS="-C target-feature=-crt-static" cargo build --- a/src/librustc/session/mod.rs +++ b/src/librustc/session/mod.rs |