Attempt to get basic leptos site working in devshell and nix package
This commit is contained in:
parent
0ff2b12fb0
commit
af3c61d75c
19 changed files with 3051 additions and 2 deletions
11
rust/.cargo/config.toml
Normal file
11
rust/.cargo/config.toml
Normal 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"]
|
|
@ -107,5 +107,6 @@ in
|
|||
devDeps = [
|
||||
pkgs.cargo-hakari
|
||||
rustToolchain
|
||||
];
|
||||
]
|
||||
++ commonArgs.buildInputs;
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue