We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4219b66 commit 5c3b534Copy full SHA for 5c3b534
tests/testsuite/cargo_add/target_cfg/mod.rs
@@ -28,7 +28,7 @@ fn case() {
28
29
snapbox::cmd::Command::cargo_ui()
30
.arg("add")
31
- .arg_line("my-package1 my-package2 --target cfg(unix)")
+ .arg_line("my-package1 my-package2 --target 'cfg(target_os=\"linux\")'")
32
.current_dir(cwd)
33
.assert()
34
.success()
tests/testsuite/cargo_add/target_cfg/out/Cargo.toml
@@ -5,6 +5,6 @@ name = "cargo-list-test-fixture"
5
version = "0.0.0"
6
edition = "2015"
7
8
-[target."cfg(unix)".dependencies]
+[target."cfg(target_os=/"linux/")".dependencies]
9
my-package1 = "99999.0.0"
10
my-package2 = "99999.0.0"
tests/testsuite/cargo_add/target_cfg/stderr.term.svg
0 commit comments