project: statically linked by default

This commit is contained in:
Jörn-Michael Miehe 2025-06-04 22:19:24 +00:00
parent f8a748ec07
commit 74f381c7f3
3 changed files with 11 additions and 4 deletions

2
.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[build]
target = "x86_64-unknown-linux-musl"

View file

@ -13,10 +13,10 @@
"configureZshAsDefaultShell": "true"
},
"ghcr.io/devcontainers/features/rust:1": {
// "targets": "thumbv7m-none-eabi"
"targets": "x86_64-unknown-linux-musl"
},
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1": {
"packages": "git-flow"
"packages": "git-flow, musl-tools"
}
},
@ -33,7 +33,7 @@
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "rustc --version",
"postCreateCommand": "rustup target install x86_64-unknown-linux-musl | :",
// Configure tool-specific properties.
"customizations": {

7
.vscode/tasks.json vendored
View file

@ -16,8 +16,13 @@
"type": "cargo",
"command": "run",
"env": {
"RUST_LOG": "shrupl=info",
"RUST_LOG": "shrupl=debug",
},
"args": [
"sharry.yavook.de",
"G7RYoWME1W7-pcgipemJcr8-39FcMd92gBu-RgufeHc51z6",
"/lib/x86_64-linux-gnu/liblldb-14.so.1",
],
"problemMatcher": "$rustc",
"group": "none"
},