gecko-dev/build
Gregory Szorc 6f60ff2761 Bug 1411081 - Derive Rust compiler flags in configure; r=glandium
Before this commit, RUSTFLAGS was derived in rules.mk by consulting
various variables set by configure. It isn't clear to me why things
are implemented this way. We don't appear to have moz.build level
overrides for Rust compiler flags. So there doesn't appear to be a
compelling reason why we can't derive these values in configure.

So, this commit ports the code for deriving default RUSTFLAGS from
rules.mk to toolchain.configure.

The port is pretty straightforward as far as the logic goes.

MozReview-Commit-ID: JhAE9Qlo8SK

--HG--
extra : rebase_source : 6186cb81cd37c516b3d645419b9461bf501d6ba2
2017-10-24 14:42:01 -07:00
..
annotationProcessors Bug 1378410 - 1. Support BuildFlag annotation for generated bindings; r=snorp 2017-09-01 14:02:29 -04:00
autoconf Bug 1409624 - Cannot detect valid emulator command when using Android Tools 26. r=nalexander 2017-10-18 14:01:28 +09:00
build-clang Bug 1408277 - Add a toolchain job for clang 5.0. r=froydnj 2017-10-13 13:22:41 +09:00
clang-plugin Bug 1410472 - clang-plugin follows the LLVM coding style for real r=mystor 2017-10-20 19:11:50 +02:00
compare-mozconfig Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
docs Bug 1401651 - Remove obsolete documentation entries. r=cpeterson 2017-09-20 14:07:43 -04:00
macosx Bug 1324892: Update Mac builds to use the OS X 10.11 SDK. r=mshal 2017-09-08 15:49:13 -04:00
mobile Bug 1402347 - Be more exact in Android tests when checking run time; r=jmaher 2017-09-22 11:32:38 -06:00
moz.configure Bug 1411081 - Derive Rust compiler flags in configure; r=glandium 2017-10-24 14:42:01 -07:00
package/mac_osx
pgo Bug 1407207 - Make it possible to turn off budget throttling for pgo. r=ted 2017-10-12 14:57:36 +02:00
pymake
release
sanitizers Bug 1363976 - Suppress global_style_data for LSAN. r=bholley 2017-08-07 19:55:51 -05:00
sparse-profiles Bug 1406209 - Use .taskcluster.yml for action tasks templates r=dustin,jonasfj 2017-10-09 18:39:00 -07:00
unix Bug 1407359 Set up a framework for patching the MinGW toolchain r=glandium 2017-10-16 20:52:47 -05:00
util Bug 1338210 - Set threshold for num_static_constructor alerts to 3 r=jmaher 2017-03-10 13:53:08 -05:00
valgrind Bug 1394696 - stylo: Suppress valgrind warning. r=jseward 2017-09-20 09:19:18 -07:00
win32 Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
win64 Bug 1361256 part 2 - Avoid mozconfig failures when clang-cl has't been downloaded yet. r=glandium 2017-05-15 11:38:41 +08:00
__init__.py
.gdbinit_python.in Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.lldbinit.in
appini_header.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
application.ini.in Bug 1330875 - Remove MOZ_APP_STATIC_INI. r=mshal 2017-01-13 14:51:07 +09:00
automation-build.mk
automation.py.in Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj 2017-09-28 11:00:09 +09:00
binary-location.mk
buildconfig.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
cargo-linker Bug 1329737 - part 3 - use an alternate linker for Cargo invocations; r=rillian 2017-04-28 14:06:41 -04:00
checksums.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
defines.sh
dumbmake-dependencies Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans 2017-05-15 18:53:19 +02:00
gecko_templates.mozbuild Bug 1407468 - Replace multiple !JS_STANDALONE with MOZ_WIDGET_TOOLKIT. r=mshal 2017-10-05 14:50:01 +09:00
gen_test_backend.py Bug 1345109 - Delete 'JS_STANDALONE' from EmptyConfig when generating test metadata, r=mshal 2017-03-07 10:56:22 -05:00
gen_test_packages_manifest.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
genrc.sh
gyp_base.mozbuild Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
gyp.mozbuild Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce 2017-10-19 16:51:04 +02:00
mach_bootstrap.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
Makefile.in
moz-automation.mk Bug 1393607 Do not package tests if they are not enabled r=mshal 2017-08-29 12:34:40 -05:00
moz.build Bug 1333003 part 4 - Package the binary of llvm-symbolizer also on Windows. r=ted 2017-03-10 12:24:02 +08:00
mozconfig.artifact Bug 1373150 - Disable compile environment on l10n builds. r=Callek 2017-06-15 15:06:45 +09:00
mozconfig.artifact.automation Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
mozconfig.automation Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
mozconfig.cache Bug 1382502 - Enable sccache on PGO builds. r=ted 2017-07-20 11:31:14 +09:00
mozconfig.clang-cl Bug 1343713 - Avoid mozconfig failures when clang-cl/msvc are not present. r=ted 2017-03-01 11:10:14 +09:00
mozconfig.common Bug 1382502 - Include mozconfig.cache in most cases. r=ted 2017-07-20 11:07:53 +09:00
mozconfig.common.override
mozconfig.no-compile Bug 1384786 - Fix try artifact builds after bug 1382502. r=gps 2017-07-27 14:02:39 +09:00
mozconfig.rust Bug 1261841 part 5 - Enable explicit SIMD in Rust in automation infra. r=froydnj. 2017-06-13 13:24:54 +03:00
mozconfig.stylo Bug 1384258 - Build Stylo by default. r=chmanchester 2017-07-25 14:29:52 -07:00
mozconfig.vs-common
mozconfig.win-common Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal 2017-01-25 12:30:49 -05:00
prebuilt-interfaces.manifest
qemu-wrap
rebuild-backend.mk Bug 1320194 - Use 'wildcard' instead of dummy rules when re-generating build backends, r=glandium 2017-02-10 16:29:29 -05:00
sccache.mk Bug 1380964 - Get and upload useful sccache logs. r=gps 2017-07-14 09:46:38 +09:00
subconfigure.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
submit_telemetry_data.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
telemetry-schema.json
templates.mozbuild Bug 1373878 - part 2 - build system support for Rust tests; r=rillian 2017-10-02 09:21:22 -04:00
test_templates.mozbuild
update-settings.ini
upload_generated_sources.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
upload.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
variables.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
virtualenv_packages.txt bug 1382005, update compare-locales to 2.1, r=glandium 2017-09-18 18:31:24 +02:00
windows_toolchain.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00