diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..d67b66e --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +target = "x86_64-unknown-linux-musl" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b12406e..0d59fd3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": { diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 932b214..4331abb 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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" },