mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
30cc95d370
Now that Make invokes cargo without going through an msys shell, environment variables are going to be preserved properly, and we can now "safely" pass the compiler-related variables down to cargo on Windows. This makes rust target builds use the expected compiler and flags, instead of the cc-rs crate guessing, picking cl.exe, and using the wrong one, with the build later failing when linking it all together because one of the objects is not for the right target. Interestingly, the lmdb code is today built for the wrong target on aarch64, but somehow, it doesn't break the build on automation, presumably because the lmdb code is actually dead code, and the linker eliminates the object as unused, masking the problem. Depends on D18186 Differential Revision: https://phabricator.services.mozilla.com/D18187 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
external | ||
faster | ||
makefiles | ||
Moz | ||
mozunit | ||
tests | ||
AB_rCD.mk | ||
autoconf-js.mk.in | ||
autoconf.mk.in | ||
baseconfig.mk | ||
check_js_msg_encoding.py | ||
check_js_opcode.py | ||
check_macroassembler_style.py | ||
check_source_count.py | ||
check_spidermonkey_style.py | ||
check_vanilla_allocations.py | ||
config.mk | ||
createprecomplete.py | ||
emptyvars-js.mk.in | ||
emptyvars.mk.in | ||
gcc_hidden.h | ||
gcc-stl-wrapper.template.h | ||
install.bat | ||
make-stl-wrappers.py | ||
make-system-wrappers.py | ||
make-windows-h-wrapper.py | ||
Makefile.in | ||
milestone.txt | ||
moz.build | ||
MozZipFile.py | ||
msvc-stl-wrapper.template.h | ||
nsinstall.c | ||
nsinstall.py | ||
pathsub.c | ||
pathsub.h | ||
printconfigsetting.py | ||
printprereleasesuffix.py | ||
pythonpath.py | ||
rebuild_check.py | ||
recurse.mk | ||
rules.mk | ||
run_spidermonkey_checks.py | ||
run-and-prefix.py | ||
static-checking-config.mk | ||
stl-headers.mozbuild | ||
system_header_util.py | ||
system-headers.mozbuild | ||
version_win.pl | ||
version.mk | ||
windows-h-constant.decls.h | ||
windows-h-unicode.decls.h | ||
windows-h-wrapper.template.h |