Skip to content

Commit 75d924c

Browse files
committed
Allow dead_code in ffi extern block for no-std builds
1 parent 68f5f72 commit 75d924c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ffi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ pub struct ada_url_components {
126126
pub hash_start: u32,
127127
}
128128

129+
#[allow(dead_code)]
129130
unsafe extern "C" {
130131
pub fn ada_parse(input: *const c_char, length: usize) -> *mut ada_url;
131132
pub fn ada_parse_with_base(

0 commit comments

Comments
 (0)