xonecas.io
8447
Co

conveyor / files

conveyor / .cargo / config.toml

601 bytes
1[alias]
2# The app and the widgets it loads share one std and one Rune, so both link them dynamically.
3# Their own target dir, since the flag rebuilds everything. Run it from the repo's root.
4app = ["build", "--release", "-p", "conveyor-app", "-p", "conveyor-widgets", "--target-dir", "target/app", "--config", "build.rustflags=['-Cprefer-dynamic']"]
5# On a Mac, the guest's `conveyor` CLI: a static Linux build, since the host's binary can't run there.
6guest = ["build", "--release", "-p", "conveyor", "--target", "aarch64-unknown-linux-musl"]
7
8[target.aarch64-unknown-linux-musl]
9linker = "rust-lld"