After updating to macOS 27 beta (including Xcode Command Line Tools 27 beta)1, rquickjs fails to build in release mode with the macro feature:
Steps to reproduce:
git clone https://github.com/DelSkayn/rquickjs.git
cd rquickjs
git submodule update --init
cargo b --release --features=macro
Output:
Compiling rquickjs-macro v0.12.1 (/Users/clason/build/rquickjs/macro)
Compiling rquickjs v0.12.1 (/Users/clason/build/rquickjs)
error[E0463]: can't find crate for `rquickjs_macro`
--> src/lib.rs:129:9
|
129 | pub use rquickjs_macro::{
| ^^^^^^^^^^^^^^ can't find crate
For more information about this error, try `rustc --explain E0463`.
error: could not compile `rquickjs` (lib) due to 1 previous error
Curiously, cargo b --features=macro works fine, as does cargo b --release. This is with rustc 1.97.1 but already happened with 1.96.x, too, so I don't think it's a Rust regression. Since it may be relevant: This is with homebrew installed rustup. Obviously I tried wiping .cargo, reinstalling everything, etc.
1I know that this is an unsupported platform and this is my own fault, but I'm opening this because
- I am completely baffled and hoping someone here will have some idea what's going on;
- other people may run into the same problem (especially if they use
rquickjs as a dependency in their project, like we do in tree-sitter);
- the issue has persisted over multiple betas so is very likely to make it into the final release.
After updating to macOS 27 beta (including Xcode Command Line Tools 27 beta)1,
rquickjsfails to build inreleasemode with themacrofeature:Steps to reproduce:
git clone https://github.com/DelSkayn/rquickjs.git cd rquickjs git submodule update --init cargo b --release --features=macroOutput:
Curiously,
cargo b --features=macroworks fine, as doescargo b --release. This is withrustc1.97.1 but already happened with 1.96.x, too, so I don't think it's a Rust regression. Since it may be relevant: This is withhomebrewinstalledrustup. Obviously I tried wiping.cargo, reinstalling everything, etc.1I know that this is an unsupported platform and this is my own fault, but I'm opening this because
rquickjsas a dependency in their project, like we do intree-sitter);