aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rust/allow-crt-static-on-stable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rust/allow-crt-static-on-stable.patch')
-rw-r--r--testing/rust/allow-crt-static-on-stable.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/rust/allow-crt-static-on-stable.patch b/testing/rust/allow-crt-static-on-stable.patch
index c193c0c0ac..2646b3ef94 100644
--- a/testing/rust/allow-crt-static-on-stable.patch
+++ b/testing/rust/allow-crt-static-on-stable.patch
@@ -30,3 +30,12 @@ Build dynamically linked binary with rustc or cargo:
}
return crt_static;
+--- a/src/test/compile-fail/crt-static-gated.rs
++++ b/src/test/compile-fail/crt-static-gated.rs
+@@ -10,5 +10,6 @@
+
+ // compile-flags:-C target-feature=+crt-static
+ // error-pattern: specifying the `crt-static` target feature is only allowed
++// ignore-test we just want this feature and no one will stop us!
+
+ fn main() {}