diff options
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r-- | python/servo/build_commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 8033c6859eb..d516f1639dc 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -310,6 +310,10 @@ class MachCommands(CommandBase): if with_debug_assertions: env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C debug_assertions" + if sys.platform == "win32": + env["CC"] = "clang-cl.exe" + env["CXX"] = "clang-cl.exe" + if android: if "ANDROID_NDK" not in env: print("Please set the ANDROID_NDK environment variable.") |