Skip to content

Commit ce2fdc9

Browse files
authored
Setup cargo config in cargo generator README
Without this step the configuration file is at the wrong place, and cargo won't use the vendored sources.
1 parent c93d5b8 commit ce2fdc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cargo/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The output file should be added to the manifest like
2828
"name": "quickstart",
2929
"buildsystem": "simple",
3030
"build-commands": [
31+
"install -Dm644 cargo/config .cargo/config.toml",
3132
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
3233
"cargo --offline build --release --verbose",
3334
"install -Dm755 ./target/release/quickstart -t /app/bin/"

0 commit comments

Comments
 (0)