deal with deprecation notice in rust 1.38

annoying. is this actually necessary?
This commit is contained in:
bunnie 2024-05-07 17:02:15 +08:00
parent e10975ef51
commit 44658adb47
2 changed files with 21 additions and 20 deletions

View file

@ -1,20 +0,0 @@
[alias]
xtask = "run --package xtask --"
# [net]
# offline = true # do not access the network
[build]
rustflags = ["--cfg", "crossbeam_no_atomic_64"]
# [target.riscv32imac-unknown-xous-elf]
# linker = "/usr/bin/mold"
# rustflags = [
# "-C", "linker-flavor=ld",
# "-C", "relocation-model=pic",
# "-C", "link-arg=-shared",
# "--cfg", "crossbeam_no_atomic_64"
# ]
[target.riscv32imac-unknown-xous-elf]
rustflags = ["--cfg", 'curve25519_dalek_backend="u32e_backend"']

1
.cargo/config Symbolic link
View file

@ -0,0 +1 @@
config.toml

20
.cargo/config.toml Normal file
View file

@ -0,0 +1,20 @@
[alias]
xtask = "run --package xtask --"
# [net]
# offline = true # do not access the network
[build]
rustflags = ["--cfg", "crossbeam_no_atomic_64"]
# [target.riscv32imac-unknown-xous-elf]
# linker = "/usr/bin/mold"
# rustflags = [
# "-C", "linker-flavor=ld",
# "-C", "relocation-model=pic",
# "-C", "link-arg=-shared",
# "--cfg", "crossbeam_no_atomic_64"
# ]
[target.riscv32imac-unknown-xous-elf]
rustflags = ["--cfg", 'curve25519_dalek_backend="u32e_backend"']