Skip to content

Commit fe38af7

Browse files
committed
Rename posish -> rsix in a few more places.
1 parent 1f6b076 commit fe38af7

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/actions/install-rust/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ child_process.execFileSync('rustup', ['default', toolchain]);
1818

1919
// Deny warnings on CI to keep our code warning-free as it lands in-tree. Don't
2020
// do this on nightly though since there's a fair amount of warning churn there.
21-
// POSISH: Disable this so that it doesn't overwrite RUSTFLAGS for setting
22-
// "--cfg posish_use_libc". We re-add it manually in the workflow.
21+
// RSIX: Disable this so that it doesn't overwrite RUSTFLAGS for setting
22+
// "--cfg rsix_use_libc". We re-add it manually in the workflow.
2323
//if (!toolchain.startsWith('nightly')) {
2424
// set_env("RUSTFLAGS", "-D warnings");
2525
//}

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ jobs:
250250
env:
251251
RUST_BACKTRACE: 1
252252
253-
test_posih_use_libc:
254-
name: Test posish_use_libc
253+
test_rsix_use_libc:
254+
name: Test rsix_use_libc
255255
runs-on: ${{ matrix.os }}
256256
strategy:
257257
matrix:
@@ -285,12 +285,12 @@ jobs:
285285
qemu_target: riscv64-linux-user
286286
env:
287287
# -D warnings is commented out in our install-rust action; re-add it here.
288-
RUSTFLAGS: --cfg posish_use_libc -D warnings
289-
RUSTDOCFLAGS: --cfg posish_use_libc
290-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg posish_use_libc
291-
CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg posish_use_libc
292-
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg posish_use_libc
293-
CARGO_TARGET_RISCV64_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg posish_use_libc
288+
RUSTFLAGS: --cfg rsix_use_libc -D warnings
289+
RUSTDOCFLAGS: --cfg rsix_use_libc
290+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg rsix_use_libc
291+
CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg rsix_use_libc
292+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg rsix_use_libc
293+
CARGO_TARGET_RISCV64_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg rsix_use_libc
294294
steps:
295295
- uses: actions/checkout@v2
296296
with:

0 commit comments

Comments
 (0)