Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
rustup +nightly component add clippy
cargo install cargo-dylint dylint-link || true
cargo install cargo-supply-chain || true
cargo install group-runner || true
cargo install unset || true

- name: Update
if: ${{ runner.os == 'Linux' }}
Expand All @@ -83,7 +83,7 @@ jobs:
run: cargo test --no-run

- name: Test
run: cargo test --config "target.'cfg(all())'.runner = 'group-runner'"
run: cargo test --config "target.'cfg(all())'.runner = 'unset'"

all-checks:
needs: [test]
Expand Down
23 changes: 0 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ xdg = "3.0"
[dev-dependencies]
assert_cmd = "2.2"
cargo_metadata = "0.23"
ctor = "0.12"
serde = "1.0"
serde_json = "1.0"
similar-asserts = "2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/util/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn split_and_expand(build_script_path: &Path) -> Result<Vec<String>> {
.into_iter()
.map(|arg| expand(&arg, Some(build_script_path)))
.collect::<Result<Vec<_>>>()?;
eprintln!("expanded `BUILD_WRAP_CMD`: {:#?}", &expanded_args);
eprintln!("expanded `BUILD_WRAP_CMD`: {expanded_args:#?}");
ensure!(
!expanded_args.is_empty(),
"expanded `BUILD_WRAP_CMD` is empty or all whitespace"
Expand Down
7 changes: 0 additions & 7 deletions tests/integration/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ use std::{
mod main_util;
pub use main_util::*;

#[ctor::ctor]
fn initialize() {
unsafe {
env::set_var("CARGO_TERM_COLOR", "never");
}
}

#[must_use]
pub fn build_with_build_wrap() -> Command {
let build_wrap = env!("CARGO_BIN_EXE_build-wrap");
Expand Down
1 change: 1 addition & 0 deletions unset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CARGO_TERM_COLOR