We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b7caf6 commit 1f624d4Copy full SHA for 1f624d4
dev-rust-analyzer.toml
@@ -0,0 +1,4 @@
1
+# rust-analyzer configuration file
2
+# DO NOT edit what is already defined.
3
+# You may add new configurations as needed.
4
+check.extraArgs = ["--profile", "test"]
src/init.rs
@@ -130,6 +130,10 @@ pub fn init() -> Result<()> {
130
fs::write("Cargo.toml", updated_cargo_toml)
131
.context("Failed to create the file `rustlings/Cargo.toml`")?;
132
133
+ let ra_toml = include_str!("../dev-rust-analyzer.toml");
134
+ fs::write("rust-analyzer.toml", ra_toml)
135
+ .context("Failed to create the file `rustlings/rust-analyzer.toml`")?;
136
+
137
fs::write(".gitignore", GITIGNORE)
138
.context("Failed to create the file `rustlings/.gitignore`")?;
139
0 commit comments