Skip to content
Merged
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 account/template/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2025-07-20"
channel = "nightly-2025-12-10"
components = ["rustfmt", "rust-src", "llvm-tools"]
targets = ["wasm32-wasip2"]
profile = "minimal"
1 change: 1 addition & 0 deletions account/template/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
#![feature(alloc_error_handler)]

extern crate alloc;

Expand Down
2 changes: 1 addition & 1 deletion auth-component/template/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2025-07-20"
channel = "nightly-2025-12-10"
components = ["rustfmt", "rust-src", "llvm-tools"]
targets = ["wasm32-wasip2"]
profile = "minimal"
1 change: 1 addition & 0 deletions auth-component/template/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
#![feature(alloc_error_handler)]

use miden::{component, Word};

Expand Down
2 changes: 1 addition & 1 deletion note/template/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2025-07-20"
channel = "nightly-2025-12-10"
components = ["rustfmt", "rust-src", "llvm-tools"]
targets = ["wasm32-wasip2"]
profile = "minimal"
1 change: 1 addition & 0 deletions note/template/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
#![feature(alloc_error_handler)]

extern crate alloc;

Expand Down
2 changes: 1 addition & 1 deletion program/template/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2025-07-20"
channel = "nightly-2025-12-10"
components = ["rustfmt", "rust-src", "llvm-tools"]
targets = ["wasm32-wasip2"]
profile = "minimal"
9 changes: 8 additions & 1 deletion program/template/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
#![no_std]
#![feature(alloc_error_handler)]

#[cfg(not(test))]
#[panic_handler]
fn my_panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}

#[cfg(not(test))]
#[alloc_error_handler]
fn my_alloc_error(_info: core::alloc::Layout) -> ! {
loop {}
}

#[no_mangle]
pub fn entrypoint() -> i32 {
// TODO: Implement your program logic here
0
}
}
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2025-07-20
nightly-2025-12-10
2 changes: 1 addition & 1 deletion tx-script/template/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2025-07-20"
channel = "nightly-2025-12-10"
components = ["rustfmt", "rust-src", "llvm-tools"]
targets = [ "wasm32-wasip2" ]
profile = "minimal"
1 change: 1 addition & 0 deletions tx-script/template/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
#![feature(alloc_error_handler)]

extern crate alloc;

Expand Down
Loading