mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
Merge pull request #650 from betrusted-io/cleanup-bio
fix warning from latest rust version
This commit is contained in:
commit
69e73ffd61
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ impl BioSharedState {
|
||||||
macro_rules! bio_code {
|
macro_rules! bio_code {
|
||||||
($fn_name:ident, $name_start:ident, $name_end:ident, $($item:expr),*) => {
|
($fn_name:ident, $name_start:ident, $name_end:ident, $($item:expr),*) => {
|
||||||
pub fn $fn_name() -> &'static [u8] {
|
pub fn $fn_name() -> &'static [u8] {
|
||||||
extern {
|
extern "C" {
|
||||||
static $name_start: *const u8;
|
static $name_start: *const u8;
|
||||||
static $name_end: *const u8;
|
static $name_end: *const u8;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue