Skip to content

Commit

Permalink
Merge pull request #363 from nbdd0121/intrinsics
Browse files Browse the repository at this point in the history
Disable stack probes
  • Loading branch information
ojeda authored Jun 7, 2021
2 parents bc06587 + 53bc4d4 commit 6470c0c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 40 deletions.
7 changes: 1 addition & 6 deletions arch/arm64/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@
"relocation-model": "static",
"relro-level": "full",
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
"kind": "none"
},
"target-c-int-width": "32",
"target-endian": "little",
Expand Down
7 changes: 1 addition & 6 deletions arch/riscv/rust/rv32ima.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
"relocation-model": "static",
"relro-level": "full",
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
"kind": "none"
},
"target-c-int-width": "32",
"target-endian": "little",
Expand Down
7 changes: 1 addition & 6 deletions arch/riscv/rust/rv32imac.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
"relocation-model": "static",
"relro-level": "full",
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
"kind": "none"
},
"target-c-int-width": "32",
"target-endian": "little",
Expand Down
7 changes: 1 addition & 6 deletions arch/riscv/rust/rv64ima.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
"relocation-model": "static",
"relro-level": "full",
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
"kind": "none"
},
"target-c-int-width": "32",
"target-endian": "little",
Expand Down
7 changes: 1 addition & 6 deletions arch/riscv/rust/rv64imac.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
"relocation-model": "static",
"relro-level": "full",
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
"kind": "none"
},
"target-c-int-width": "32",
"target-endian": "little",
Expand Down
7 changes: 1 addition & 6 deletions arch/x86/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
"relocation-model": "static",
"relro-level": "full",
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
"kind": "none"
},
"target-c-int-width": "32",
"target-endian": "little",
Expand Down
4 changes: 0 additions & 4 deletions rust/compiler_builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ macro_rules! define_panicking_intrinsics(
}
);

define_panicking_intrinsics!("non-inline stack probes should not be used", {
__rust_probestack,
});

define_panicking_intrinsics!("`f32` should not be used", {
__addsf3,
__addsf3vfp,
Expand Down

0 comments on commit 6470c0c

Please sign in to comment.