Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to the new stack probes option #85

Merged
merged 1 commit into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
arch: [x86_64, arm64]
toolchain: [gcc, clang, llvm]
config: [debug, release]
rustc: [2021-01-21]
rustc: [2021-01-24]
output: [src] # [src, build]
install: [rustup] # [rustup, standalone]
sysroot: [common] # [common, custom]
Expand All @@ -27,23 +27,23 @@ jobs:
- arch: x86_64
toolchain: gcc
config: debug
rustc: 2021-01-21
rustc: 2021-01-24
output: build
install: rustup
sysroot: custom

- arch: arm64
toolchain: clang
config: release
rustc: 2021-01-21
rustc: 2021-01-24
output: build
install: standalone
sysroot: common

- arch: x86_64
toolchain: llvm
config: debug
rustc: 2021-01-21
rustc: 2021-01-24
output: build
install: standalone
sysroot: custom
Expand Down
2 changes: 1 addition & 1 deletion Documentation/rust/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rustc
*****

A recent *nightly* Rust toolchain (with, at least, ``rustc``) is required,
e.g. ``nightly-2021-01-21``. Our goal is to use a stable toolchain as soon
e.g. ``nightly-2021-01-24``. Our goal is to use a stable toolchain as soon
as possible, but for the moment we depend on a handful of nightly features.

If you are using ``rustup``, run::
Expand Down
9 changes: 8 additions & 1 deletion arch/arm64/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@
},
"relocation-model": "static",
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-pointer-width": "64",
Expand Down
9 changes: 8 additions & 1 deletion arch/x86/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@
},
"relocation-model": "static",
"relro-level": "full",
"stack-probes": true,
"stack-probes": {
"kind": "inline-or-call",
"min-llvm-version-for-inline": [
11,
0,
1
]
},
"target-c-int-width": "32",
"target-endian": "little",
"target-pointer-width": "64",
Expand Down