Compare commits
1 commit
0f73864693
...
9787710d59
| Author | SHA1 | Date | |
|---|---|---|---|
| 9787710d59 |
1 changed files with 6 additions and 1 deletions
|
|
@ -110,7 +110,12 @@
|
|||
buildPhase = ''
|
||||
export HOME=$TMPDIR
|
||||
mkdir -p .cargo
|
||||
cp ${vendoredDeps}/config.toml .cargo/config.toml
|
||||
cat > .cargo/config.toml <<EOF
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
[source.vendored-sources]
|
||||
directory = "${vendoredDeps}"
|
||||
EOF
|
||||
cargo build --release --target wasm32-wasip1 --offline
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue