Skip to content

Commit e3a9b2b

Browse files
committed
github: move CARGO_* CI variables into Cargo configuration
`incremental` is unnecessary since the `rust-toolchain` action already sets the environment variable, but probably harmless for future‐proofing.
1 parent 01b923f commit e3a9b2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.cargo/config-ci.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[profile.dev]
2+
debug = "none"
3+
incremental = false
4+
15
# NOTE: on Windows, build with the static CRT, so that produced .exe files don't
26
# depend on vcruntime140.dll; otherwise the user requires visual studio if they
37
# download a raw .exe

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ concurrency:
1414

1515
permissions: {}
1616

17-
env:
18-
CARGO_INCREMENTAL: 0
19-
CARGO_PROFILE_DEV_DEBUG: 0
20-
2117
jobs:
2218
test:
2319
strategy:

0 commit comments

Comments
 (0)