Alpha
Alpha
CDCloudflare Developers
Created by Alpha on 1/22/2025 in #workers-help
Gitlab and Rust
Found the solution in #🦀rust-on-workers
build command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

deploy command:
. "$HOME/.cargo/env" && npx wrangler deploy
build command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

deploy command:
. "$HOME/.cargo/env" && npx wrangler deploy
3 replies
CDCloudflare Developers
Created by Alpha on 1/22/2025 in #workers-help
Gitlab and Rust
15:48:39.041 Running custom build: cargo install -q worker-build && worker-build --release
15:48:39.044 /bin/sh: 1: cargo: not found
15:48:39.041 Running custom build: cargo install -q worker-build && worker-build --release
15:48:39.044 /bin/sh: 1: cargo: not found
I think the issue is no cargo in the build enviroment? not sure what i can do about that though...
3 replies