leaves some breadcrumbs to revisit lto issues and alternative loaders

This commit is contained in:
bunnie 2023-01-02 14:41:40 +08:00
parent e93ac42146
commit e112791915

View file

@ -7,6 +7,11 @@ xtask = "run --package xtask --"
[build]
rustflags = ["--cfg", "crossbeam_no_atomic_64"]
[target.riscv32imac-unknown-xous-elf]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/opt/riscv64-unknown-elf/bin/riscv64-unknown-elf-ld", "--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"
# ]