Skip to content

Commit 68d5c34

Browse files
committed
Fix bugs
1 parent 2ee645b commit 68d5c34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/assembly-llvm/stack-protector/stack-protector-safe-stack.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
//@ add-core-stubs
12
//@ revisions: all strong none safestack safestack_strong safestack_all
23
//@ assembly-output: emit-asm
34
//@ only-x86_64-unknown-linux-gnu
4-
//@ add-core-stubs
55
//@ [all] compile-flags: -Z stack-protector=all
66
//@ [strong] compile-flags: -Z stack-protector=strong
77
//@ [none] compile-flags: -Z stack-protector=none
@@ -18,6 +18,7 @@
1818
#![no_std]
1919

2020
extern crate minicore;
21+
use minicore::*;
2122

2223
extern "C" {
2324
fn test4spss(p: *mut u8);

0 commit comments

Comments
 (0)