Skip to content

Commit

Permalink
Update .cargo/config.toml files to use target.'cfg(all())'
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Dec 8, 2023
1 parent 822670e commit d1a34bd
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 90 deletions.
11 changes: 1 addition & 10 deletions examples/experimental/derive_opportunity/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions examples/general/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions examples/restriction/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions examples/supplementary/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions examples/testing/clippy/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions examples/testing/marker/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[build]
target-dir = "../../../target/examples"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions examples/testing/straggler/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,5 @@
# smoelius: `straggler` uses a different compiler version than the other example libraries.
target-dir = "../../../target/straggler"

[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"
11 changes: 1 addition & 10 deletions internal/template/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
[target.aarch64-apple-darwin]
linker = "dylint-link"

[target.x86_64-apple-darwin]
linker = "dylint-link"

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

[target.x86_64-pc-windows-msvc]
[target.'cfg(all())']
linker = "dylint-link"

0 comments on commit d1a34bd

Please sign in to comment.