fix it.rs

This commit is contained in:
Frank Denzer 2023-06-02 15:13:12 +02:00
parent 96f4f559ff
commit b36606ae37
2 changed files with 10 additions and 1 deletions

3
hello_world/.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
[{
"rust-analyzer.cargo.buildScripts.overrideCommand": "cargo check --quiet --workspace --all-targets"
}]

View file

@ -1,3 +1,9 @@
/*
To actually run hello world in vs code, we need to set the following in ``Preferences: Open user settings'' or the program execution fails
How fucked up is that?
[{
"rust-analyzer.cargo.buildScripts.overrideCommand": "cargo check --quiet --workspace --all-targets" // here, we removed --message-format=json from the parameter list
}]*/
fn main() { fn main() {
println!("[\"Hello, world!\"]"); println!("Hello, world!");
} }