Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed May 5, 2024
1 parent b2d9081 commit 79d0fdf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/crates/cargo_config/.cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
rustflags = ["--cfg", "a"]
rustflags = ["--cfg", "a", "--check-cfg=cfg(a)"]
6 changes: 3 additions & 3 deletions tests/fixtures/crates/cargo_config_target/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[target.'cfg(target_os = "macos")']
rustflags = "--cfg a"
rustflags = "--cfg a --check-cfg=cfg(a,b,c,d,e)"

[target.aarch64-apple-darwin]
rustflags = "--cfg b"
rustflags = "--cfg b --check-cfg=cfg(a,b,c,d,e)"

[build]
rustflags = "--cfg d"
rustflags = "--cfg d --check-cfg=cfg(a,b,c,d,e)"
2 changes: 1 addition & 1 deletion tests/fixtures/crates/cargo_config_toml/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
rustflags = "--cfg a"
rustflags = "--cfg a --check-cfg=cfg(a)"

0 comments on commit 79d0fdf

Please sign in to comment.