Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade rust-toolchain to 1.74.0 #140

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/tests/src/capsule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn test_build<P: AsRef<Path>>(
.arg("-c")
.arg(format!("{} build --host", bin_path))
// This will be a the rust toolchain used to build this test, but we
// want cross to use the one in {contracts_path}/rust-toolchain.
// want cross to use the one in {contracts_path}/rust-toolchain.toml.
.env_remove("RUSTUP_TOOLCHAIN")
.spawn()?
.wait()?;
Expand Down
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
profile = "default"
channel = "1.74.0"
2 changes: 1 addition & 1 deletion src/generator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn gen_project_layout<P: AsRef<Path>>(name: String, project_path: P) -> Result<(
for (f, template_name) in &[
("capsule.toml", None),
("README.md", None),
("rust-toolchain", None),
("rust-toolchain.toml", None),
("Cross.toml", None),
("Cargo.toml", Some("Cargo-manifest.toml")),
(".gitignore", None),
Expand Down
1 change: 0 additions & 1 deletion templates/rust-toolchain

This file was deleted.

3 changes: 3 additions & 0 deletions templates/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
profile = "default"
channel = "1.74.0"