40 lines
880 B
TOML
40 lines
880 B
TOML
#[registry]
|
|
|
|
#[registries.gitea]
|
|
#index = "https://git.sudo.is/ben/_cargo-index.git"
|
|
|
|
#[registries.gitea-private]
|
|
#index = "https://git.sudo.is/b/_cargo-index.git"
|
|
|
|
#[registries.gitea-ops]
|
|
#index = "https://git.sudo.is/ops/_cargo-index.git"
|
|
|
|
[cargo-new]
|
|
vcs = "git"
|
|
|
|
[net]
|
|
git-fetch-with-cli = true
|
|
|
|
## cross-compiling
|
|
#[build]
|
|
#target = "x86_64-unknown-linux-musl"
|
|
#rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.aarch64-apple-darwin]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
# vacuum robot
|
|
#[target.aarch64-unknown-linux-musl]
|
|
#rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
# turris
|
|
#[target.armv7-unknown-linux-gnueabihf]
|
|
#rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
# unifi ap
|
|
#[target.mips-unknown-linux-musl]
|
|
#rustflags = ["-C", "target-feature=+crt-static"]
|