servo
servo copied to clipboard
Build failed on ubuntu with Nix: failed to run custom build command for `style v0.0.1`
As the title says, style v0.0.1 fails to build.
This is the full error message:
error: failed to run custom build command for `style v0.0.1 (/home/USER/git/servo/components/style)`
Caused by:
process didn't exit successfully: `/home/USER/git/servo/target/release/build/style-c783f3b1586c934d/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at '
The style crate requires enabling one of its 'servo' or 'gecko' feature flags and, in the 'servo' case, one of 'servo-layout-2013' or 'servo-layout-2020'.
', components/style/build.rs:80:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Huh. How are you building it?
./mach build --release
Same problem without release flag
@jdm the problem persists even here on MacOS without nix!