Skip to content

Commit

Permalink
Temporary hack to be able to run the 0.37 branch in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Oct 13, 2024
1 parent e0b765e commit 367ec7f
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ jobs:
env:
# -D warnings is commented out in our install-rust action; re-add it here.
# In theory we should add --cfg criterion here, but criterion doesn't compile under Rust 1.48.
RUSTFLAGS: -D warnings
#RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v3
with:
@@ -143,7 +143,7 @@ jobs:

env:
# -D warnings is commented out in our install-rust action; re-add it here.
RUSTFLAGS: -D warnings
#RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v3
with:
@@ -574,7 +574,7 @@ jobs:
qemu_target: arm-linux-user
env:
# -D warnings is commented out in our install-rust action; re-add it here.
RUSTFLAGS: -D warnings
#RUSTFLAGS: -D warnings
QEMU_BUILD_VERSION: 7.0.0
steps:
- uses: actions/checkout@v3
@@ -661,7 +661,8 @@ jobs:
qemu_target: ppc64le-linux-user
env:
# -D warnings is commented out in our install-rust action; re-add it here.
RUSTFLAGS: --cfg rustix_use_experimental_asm -D warnings
RUSTFLAGS: --cfg rustix_use_experimental_asm
# -D warnings
RUSTDOCFLAGS: --cfg rustix_use_experimental_asm
CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_RUSTFLAGS: --cfg rustix_use_experimental_asm
QEMU_BUILD_VERSION: 7.0.0
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -188,6 +188,7 @@ fn link_in_librustix_outline(arch: &str, asm_name: &str) {
build.file(&asm_name);
build.compile(&name);
println!("cargo:rerun-if-changed={}", asm_name);
/*
if std::fs::metadata(".git").is_ok() {
let from = format!("{}/lib{}.a", out_dir, name);
let prev_metadata = std::fs::metadata(&to);
@@ -209,6 +210,7 @@ fn link_in_librustix_outline(arch: &str, asm_name: &str) {
to
);
}
*/
}
}

0 comments on commit 367ec7f

Please sign in to comment.