Skip to content

Commit 731a3a5

Browse files
authored
[test_no_std] add resolver = 2 in toml (#120)
Currently, this changes nothing, but this is an improvement of the cargo dependency resolution that might prevent `std` leakage into `no_std` builds for dev-dependencies of procedural macros. See: paritytech/substrate#8891
1 parent 02caff4 commit 731a3a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test_no_std/Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test_no_std/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "test_no_std"
33
version = "0.6.0"
44
authors = ["Alain Brenzikofer <[email protected]>"]
55
edition = "2018"
6+
resolver = "2"
67

78
[profile.dev]
89
panic = "abort"

0 commit comments

Comments
 (0)