mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
try to fix msvc
This commit is contained in:
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
//@ ignore-wasm32-unknown-unknown stack protector is not supported
|
||||
//@ edition:future
|
||||
|
||||
// msvc has an extra unwind dependency of std, normalize it in the error messages
|
||||
//@ normalize-stderr: "\b(unwind|libc)\b" -> "unwind/libc"
|
||||
|
||||
// test that stack-protector is denied-partial in edition=future
|
||||
//@ [stack-protector-future] compile-flags: -Z unstable-options -Z stack-protector=all
|
||||
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:34:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-1-error.rs:37:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
+14
-14
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `std`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -35,7 +35,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -44,7 +44,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -53,7 +53,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -62,7 +62,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -70,22 +70,22 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: aborting due to 10 previous errors
|
||||
|
||||
+14
-14
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `std`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -35,7 +35,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -44,7 +44,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -53,7 +53,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -62,7 +62,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -70,22 +70,22 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: aborting due to 10 previous errors
|
||||
|
||||
+14
-14
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `std`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -35,7 +35,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -44,7 +44,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -53,7 +53,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -62,7 +62,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -70,22 +70,22 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `stack-protector=all` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `stack-protector=all` enabled, or use `-Z allow-partial-mitigations=stack-protector` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=stack-protector` via `-Z deny-partial-mitigations=stack-protector`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:18:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-2-errors.rs:21:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: aborting due to 10 previous errors
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
//@ ignore-wasm32-unknown-unknown stack protector is not supported
|
||||
//@ edition:future
|
||||
|
||||
// msvc has an extra unwind dependency of std, normalize it in the error messages
|
||||
//@ normalize-stderr: "\b(unwind|libc)\b" -> "unwind/libc"
|
||||
|
||||
// just use 2 partial mitigations, without any allow/deny flag. Should be denied at edition=future.
|
||||
//@ [both] compile-flags: -Z unstable-options -C control-flow-guard=on -Z stack-protector=all
|
||||
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
error: your program uses the crate `std`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:13:1
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:18:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -8,7 +8,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `core`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:13:1
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:18:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -17,7 +17,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `alloc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:13:1
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:18:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -26,7 +26,7 @@ LL | fn main() {}
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `compiler_builtins`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:13:1
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:18:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
@@ -34,13 +34,13 @@ LL | fn main() {}
|
||||
= note: recompile `compiler_builtins` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: your program uses the crate `libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:13:1
|
||||
error: your program uses the crate `unwind/libc`, that is not compiled with `control-flow-guard` enabled
|
||||
--> $DIR/err-allow-partial-mitigations-current-edition.rs:18:1
|
||||
|
|
||||
LL | fn main() {}
|
||||
| ^
|
||||
|
|
||||
= note: recompile `libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= note: recompile `unwind/libc` with `control-flow-guard` enabled, or use `-Z allow-partial-mitigations=control-flow-guard` to allow creating an artifact that has the mitigation partially enabled
|
||||
= help: it is possible to disable `-Z allow-partial-mitigations=control-flow-guard` via `-Z deny-partial-mitigations=control-flow-guard`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
@@ -4,12 +4,17 @@
|
||||
//@ ignore-nvptx64 stack protector is not supported
|
||||
//@ ignore-wasm32-unknown-unknown stack protector is not supported
|
||||
//@ edition: 2024
|
||||
//@ [control-flow-2024-explicit-deny] compile-flags: -C control-flow-guard=on -Z deny-partial-mitigations=control-flow-guard
|
||||
|
||||
// msvc has an extra unwind dependency of std, normalize it in the error messages
|
||||
//@ normalize-stderr: "\b(unwind|libc)\b" -> "unwind/libc"
|
||||
|
||||
// check that in edition 2024, it is still possible to explicitly
|
||||
// disallow partial mitigations (in edition=future, they are
|
||||
// disallowed by default)
|
||||
|
||||
//@ [control-flow-2024-explicit-deny] compile-flags: -C control-flow-guard=on -Z deny-partial-mitigations=control-flow-guard
|
||||
|
||||
|
||||
fn main() {}
|
||||
//~^ ERROR that is not compiled with
|
||||
//~| ERROR that is not compiled with
|
||||
|
||||
Reference in New Issue
Block a user