We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33635fd commit 4ba1964Copy full SHA for 4ba1964
src/lib.rs
@@ -61,7 +61,7 @@ pub use target_info::TargetInfo;
61
62
#[cfg(feature="master")]
63
pub fn set_global_personality_function_name(name: &'static [u8]) {
64
- debug_assert!(name.ends_with(&[b'\0']), "Expecting a NUL-terminated C string");
+ debug_assert!(name.ends_with(b"\0"), "Expecting a NUL-terminated C string");
65
unsafe {
66
gccjit_sys::gcc_jit_set_global_personality_function_name(name.as_ptr() as *const _);
67
}
0 commit comments