fix warning from latest rust version

This commit is contained in:
bunnie 2025-05-25 14:07:58 +08:00
parent 9fa69b2898
commit 6e0f6e23a1

View file

@ -222,7 +222,7 @@ impl BioSharedState {
macro_rules! bio_code {
($fn_name:ident, $name_start:ident, $name_end:ident, $($item:expr),*) => {
pub fn $fn_name() -> &'static [u8] {
extern {
extern "C" {
static $name_start: *const u8;
static $name_end: *const u8;
}