Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Microkit based system in release mode #173

Closed
Ivan-Velickovic opened this issue Aug 5, 2024 · 0 comments · Fixed by #176
Closed

Building Microkit based system in release mode #173

Ivan-Velickovic opened this issue Aug 5, 2024 · 0 comments · Fixed by #176

Comments

@Ivan-Velickovic
Copy link
Contributor

I get the following error when building in release config of Microkit:

error[E0432]: unresolved imports `printing::debug_print`, `printing::debug_println`
  --> /Users/ivanv/.cargo/git/checkouts/rust-sel4-018a7d0b994b8350/43c251d/crates/sel4-microkit/src/lib.rs:47:20
   |
47 | pub use printing::{debug_print, debug_println};
   |                    ^^^^^^^^^^^  ^^^^^^^^^^^^^ no `debug_println` in `printing`
   |                    |
   |                    no `debug_print` in `printing`
   |
   = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
help: a macro with this name exists at the root of the crate
   |
   |
help: a macro with this name exists at the root of the crate
   |
47 - pub use printing::{debug_print, debug_println};
47 + pub use printing::{debug_println, debug_print};
   |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant