Attempt to get basic leptos site working in devshell and nix package
Some checks failed
/ dev-shell (push) Successful in 6m23s
/ check (push) Failing after 7m19s
/ rust-packages (push) Successful in 11m54s
/ terraform-providers (push) Successful in 5m32s
/ systems (push) Successful in 56m18s

This commit is contained in:
Kaare Hoff Skovgaard 2025-08-12 00:36:38 +02:00
parent 0ff2b12fb0
commit af3c61d75c
Signed by: khs
GPG key ID: C7D890804F01E9F0
19 changed files with 3051 additions and 2 deletions

11
rust/.cargo/config.toml Normal file
View file

@ -0,0 +1,11 @@
[target.aarch64-apple-darwin]
rustflags = ["--cfg", "erase_components"]
[target.aarch64-unknown-linux-gnu]
rustflags = ["--cfg", "erase_components"]
[target.x86_64-unknown-linux-gnu]
rustflags = ["--cfg", "erase_components"]
[target.wasm32-unknown-unknown]
rustflags = ["--cfg", "erase_components"]

View file

@ -107,5 +107,6 @@ in
devDeps = [
pkgs.cargo-hakari
rustToolchain
];
]
++ commonArgs.buildInputs;
}

View file

@ -2,3 +2,9 @@
channel = "1.88.0"
components = ["rustfmt", "clippy", "cargo", "rust-src"]
profile = "minimal"
targets = [
"wasm32-unknown-unknown",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"aarch64-apple-darwin",
]