tl;dr: Use "./mach build --dev" or edit your .servobuild file to build in
debug mode.

This change just landed to add a `--dev` flag to the `mach build` command
for building in Cargo's debug profile:
https://github.com/servo/servo/pull/6038

To prevent unsuspecting newcomers from using un-optimized debug build for
benchmarking or performance evaluation, dev/debug mode is no longer the
default.  Instead, you must explicitly specify --dev or --release when
building Servo.  Or use the short flags -d and -r.

(Why --dev instead of --debug?  For consistency with `mach run` which
already uses --dev for the same purpose, and --debug for something
different.)

If you don't want to pass a flag every time you build, you can set a
default mode in your .servobuild file. See servobuild.example for details.
See also this suggestion for better automatic defaults:
https://github.com/servo/servo/issues/6048
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to