Skip to content

Commit

Permalink
Merge pull request #408 from 0xPolygonMiden/greenhat/update-program-i…
Browse files Browse the repository at this point in the history
…32-template

[2/x] chore: update `cargo miden new` to use `v0.8.0` of the program template
  • Loading branch information
bitwalker authored Feb 19, 2025
2 parents 564c4f0 + 8d8045a commit 648b7d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/collatz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// static ALLOC: BumpAlloc = miden::BumpAlloc::new();

// Required for no-std crates
#[cfg(not(test))]
#[panic_handler]
fn my_panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
Expand Down
1 change: 1 addition & 0 deletions examples/fibonacci/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

// Required for no-std crates
#[panic_handler]
#[cfg(not(test))]
fn my_panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/cargo-miden/src/commands/new_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use clap::Args;
///
/// Before changing it make sure the new tag exists in the rust-templates repo and points to the
/// desired commit.
const TEMPLATES_REPO_TAG: &str = "v0.7.0";
const TEMPLATES_REPO_TAG: &str = "v0.8.0";

// This should have been an enum but I could not bend `clap` to expose variants as flags
/// Project template
Expand Down

0 comments on commit 648b7d8

Please sign in to comment.