Skip to content

Conversation

randomnoise
Copy link
Contributor

When running cargo build --package plato-core with Rust 1.86.0+, warnings are printed similar to this:

warning: extern declarations without an explicit ABI are deprecated
  --> crates/core/src/document/mupdf_sys.rs:45:1
   |
45 | extern {
   | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`

This PR makes explicit extern C ABI declarations and fixes these warnings.

For more info:

@aykevl
Copy link

aykevl commented Jun 27, 2025

I think you missed one: crates/core/src/font/mod.rs:103
The warning is only shown when running ./build.sh, not when running the emulator.

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 this pull request may close these issues.

2 participants