Merge pull request #650 from betrusted-io/cleanup-bio

fix warning from latest rust version
This commit is contained in:
bunnie 2025-05-25 14:11:42 +08:00 committed by GitHub
commit 69e73ffd61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}