jam1garner/cargo-skyline

Broken pipe error in build command when printing in proc macro

Opened this issue · 0 comments

Whenever a dependency crate that prints to stdout inside a proc macro is compiled, cargo skyline build fails with the following error:

Unable to parse cargo output stream                                                 
error: Broken pipe (os error 32)

The build works if the underlying command SKYLINE_ADD_NRO_HEADER=1 RUSTFLAGS="--cfg skyline_std_v3" cargo +skyline-v3 build --target ~/.cargo/skyline/aarch64-skyline-switch.json -Z build-std=core,alloc,std,panic_abort is executed manually.
This issue might be specific to macOS.