fix it.rs
This commit is contained in:
parent
96f4f559ff
commit
b36606ae37
2 changed files with 10 additions and 1 deletions
3
hello_world/.vscode/settings.json
vendored
Normal file
3
hello_world/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[{
|
||||||
|
"rust-analyzer.cargo.buildScripts.overrideCommand": "cargo check --quiet --workspace --all-targets"
|
||||||
|
}]
|
|
@ -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!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue