mirror of
https://github.com/servo/servo.git
synced 2025-07-27 01:00:41 +01:00
build: Honor SERVO_ENABLE_DEBUG_ASSERTIONS.
This commit is contained in:
parent
ce79e04644
commit
6496efd0e7
1 changed files with 6 additions and 0 deletions
|
@ -216,6 +216,12 @@ class MachCommands(CommandBase):
|
|||
build_start = time()
|
||||
env = self.build_env(target=target, is_build=True)
|
||||
|
||||
# TODO: If this ends up making it, we should probably add a
|
||||
# --release-with-debug-assertions option or similar, so it's easier to
|
||||
# build locally.
|
||||
if env.get("SERVO_ENABLE_DEBUG_ASSERTIONS", None):
|
||||
env["RUSTFLAGS"] = "-C debug_assertions"
|
||||
|
||||
if android:
|
||||
# Build OpenSSL for android
|
||||
make_cmd = ["make"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue