Skip to content

Commit

Permalink
chore: fix build warn
Browse files Browse the repository at this point in the history
  • Loading branch information
4rgon4ut committed Nov 1, 2024
1 parent 8f85a53 commit 6828beb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions examples/overflow/guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name = "overflow-guest"
version = "0.1.0"
edition = "2021"

[[bin]]
name = "guest"
path = "./src/lib.rs"

[features]
guest = []

Expand Down
1 change: 0 additions & 1 deletion examples/overflow/guest/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![cfg_attr(feature = "guest", no_std)]
#![no_main]

extern crate alloc;
use alloc::vec;
Expand Down
5 changes: 5 additions & 0 deletions examples/overflow/guest/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#![cfg_attr(feature = "guest", no_std)]
#![no_main]

#[allow(unused_imports)]
use overflow_guest::*;

0 comments on commit 6828beb

Please sign in to comment.