Skip to content

Commit 43baf5d

Browse files
committed
[DO NOT MERGE] update target feature following LLVM API change
LLVM commit llvm/llvm-project@e817966 renamed the `unaligned-scalar-mem` target feature to `fast-unaligned-access`.
1 parent 0899efe commit 43baf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/abi/riscv-discoverability-guidance.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// revisions: riscv32 riscv64
33
//
44
// [riscv32] needs-llvm-components: riscv
5-
// [riscv32] compile-flags: --target=riscv32i-unknown-none-elf -C target-feature=-unaligned-scalar-mem --crate-type=rlib
5+
// [riscv32] compile-flags: --target=riscv32i-unknown-none-elf -C target-feature=-fast-unaligned-access --crate-type=rlib
66
// [riscv64] needs-llvm-components: riscv
7-
// [riscv64] compile-flags: --target=riscv64gc-unknown-none-elf -C target-feature=-unaligned-scalar-mem --crate-type=rlib
7+
// [riscv64] compile-flags: --target=riscv64gc-unknown-none-elf -C target-feature=-fast-unaligned-access --crate-type=rlib
88
#![no_core]
99
#![feature(
1010
no_core,

0 commit comments

Comments
 (0)