about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-09-05 22:47:18 +0200
committerGitHub <noreply@github.com>2025-09-05 22:47:18 +0200
commit90f51016a6b27e1e4c672e1241bc636540714f2e (patch)
tree147f1b5a16d4495e97831d5839f53f18d4b82531 /compiler/rustc_codegen_llvm/src
parent349fbba24f0158c1ed293658c31de5c8a0954e5a (diff)
parentb301e3aed4975d6431cdc963a85b33ca7157757c (diff)
downloadrust-90f51016a6b27e1e4c672e1241bc636540714f2e.tar.gz
rust-90f51016a6b27e1e4c672e1241bc636540714f2e.zip
Rollup merge of #139113 - folkertdev:sanitizer-unstable-book-check-block, r=rcvalle
unstable book: in a sanitizer example, check the code

Use some `#` directives to make sure the code checks on x86_64, and does not produce errors on other platforms. This example still used an older version of `#[naked]`, and because the snippet was ignored that was missed before.

I'm not sure when this gets built on CI exactly, so it might be worthwhile to try and build it for a non-x86_64 architecture to make sure that works. I'm not sure how to verify locally that e.g. on aarch64 this code works without errors/warnings.

try-job: aarch64-apple
try-job: x86_64-msvc-2
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions