Skip to content

Commit

Permalink
add no-std support
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric authored and djc committed Oct 13, 2023
1 parent 25e3535 commit f3eda69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//! yourself by inspecting and re-running the generation process.
//!

#![no_std]
#![forbid(unsafe_code, unstable_features)]
#![deny(
trivial_casts,
Expand Down
1 change: 1 addition & 0 deletions tests/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ const HEADER: &str = r#"//!
//! yourself by inspecting and re-running the generation process.
//!
#![no_std]
#![forbid(unsafe_code, unstable_features)]
#![deny(
trivial_casts,
Expand Down

0 comments on commit f3eda69

Please sign in to comment.