Skip to content

Commit 4dc2ba6

Browse files
committed
fix: made the main crate bmatcher no_std as well and fixed failing tests
1 parent 1ae8991 commit 4dc2ba6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bmatcher-proc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod macro_pattern;
77

88
/// Parse a binary pattern and generate an instance of [BorrowedBinaryPattern] at compile time.
99
/// # Example
10-
/// ```rust,compile_fail
10+
/// ```rust,ignore
1111
/// static MY_PATTERN: &dyn BinaryPattern = &pattern!("01 02 ? 03 [4]");
1212
/// ```
1313
#[proc_macro]

bmatcher/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
#![cfg_attr(not(test), no_std)]
12
pub use bmatcher_core::*;
23
pub use bmatcher_proc::pattern;

0 commit comments

Comments
 (0)