about summary refs log tree commit diff
path: root/tests/codegen/const-array.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-25 20:15:49 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-12-28 11:58:32 +0800
commitb32591e5808ce7c59b58bd807dc1d26670cedb68 (patch)
tree3142164d92bf1a9c6db763d7ec30cd2718f63b46 /tests/codegen/const-array.rs
parentecc189922dac830ff866f4609311e6afcc4a91f6 (diff)
downloadrust-b32591e5808ce7c59b58bd807dc1d26670cedb68.tar.gz
rust-b32591e5808ce7c59b58bd807dc1d26670cedb68.zip
tests: migrate `branch-protection-check-IBT` to rmake.rs
- The Makefile version *never* ran because of Makefile syntax confusion.
- The test would've always failed because precompiled std is not built
  with `-Z cf-protection=branch`, but linkers require all input object
  files to indicate IBT support in order to enable IBT for the
  executable, which is not the case for std.
- Thus, the test input file is instead changed to a `no_std` + `no_core`
  program.

Co-authored-by: Jerry Wang <jerrylwang123@gmail.com>
Co-authored-by: Oneirical <manchot@videotron.ca>
Diffstat (limited to 'tests/codegen/const-array.rs')
0 files changed, 0 insertions, 0 deletions