mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
ignore dead code in shell.rs
when the debug stuff is commented out, a bunch of unused code warnings happen in the shell interface
This commit is contained in:
parent
03d67de1f6
commit
c8cb5cda47
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
// SPDX-FileCopyrightText: 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
// SPDX-FileCopyrightText: 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
// allow all functions to go unused in case debug is disabled with a feature flag
|
||||||
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue