gecko-dev/config
Ralph Giles 2ea918802d Bug 1161339 - Add rust support to moz.build. r=ted
Add .rs as a recognized file extension in SOURCES.

Propagate that through to the Makefile backend and add a dependency
generated and an explicit rule to call $(RUSTC) to compile them.

rustc builds static libraries, not obj files. At least, if one
asks it to output an obj file, I'm not clear how to get all the
compiler-specific runtime libraries the code will expect to link
to. Therefore we generate a static library for each rust source
file (which must be a complete crate for the time being) and link
that. Because of the extension it ends up on the LIBS line in the
the corresponding .desc file.

Note that the static library does still depend on some system
libraries, e.g. -ldl -lpthread -lm on linux. Gecko already
links to all of those, so we don't keep track of it here.

Should we need to add explicit linkage for other targets,
rustc does print a list to stderr which can be parsed.

--HG--
extra : rebase_source : 9f66101fd15a649a952d5481cf9561416204272a
2015-05-08 15:18:00 -07:00
..
Moz
external Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
makefiles Bug 1138824 - Don't install import libraries in $(DIST)/lib. r=gps 2015-03-27 09:42:11 +09:00
tests Bug 1132771 - Add a test for reading all moz.build files in filesystem traversal mode; r=glandium 2015-03-02 09:43:11 -08:00
Makefile.in Bug 1063880 - Allow a --disable-compile-environment to go through a full mach build. r=mshal 2015-03-11 16:03:55 +09:00
MozZipFile.py
android-common.mk
autoconf-js.mk.in
autoconf.mk.in
baseconfig.mk Bug 852814 - Move mozbuild variable blacklist logic into the backend. r=gps 2015-03-27 15:39:34 -04:00
check_source_count.py
check_spidermonkey_style.py Bug 1062473: Use mozalloc's moz_malloc_size_of in the JS shell, not our own custom copy. r=glandium 2015-04-13 16:11:32 -07:00
check_vanilla_allocations.py Bug 1104651 - Make valloc optional, r=glandium 2014-12-16 20:34:56 -05:00
config.mk Bug 1155760 - remove obsolete JAVA_{GEN_DIR,DIST_DIR,IFACES_PKG_NAME} definitions; r=nalexander 2015-04-17 13:13:21 -04:00
configobj.py
createprecomplete.py
doxygen.cfg.in
emptyvars-js.mk.in
emptyvars.mk.in
expandlibs.py
expandlibs_config.py
expandlibs_exec.py
expandlibs_gen.py
find_OOM_errors.py
gcc-stl-wrapper.template.h Bug 1128413, Part 4: Fix warnings in mozilla-config.h and gcc-stl-wrapper.template.h, r=glandium 2015-02-02 17:35:19 -08:00
gcc_hidden.h
gcc_hidden_dso_handle.h
glibcversion.sh
install.bat
link.py
make-stl-wrappers.py
milestone.txt Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
moz.build Bug 1132771 - Define some bug components; r=glandium 2015-02-26 11:43:45 -08:00
mozunit.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 Bug 1159371 - Allow compiling sub-directories with --disable-compile-environment. r=glandium 2015-04-27 14:55:34 -07:00
rules.mk Bug 1161339 - Add rust support to moz.build. r=ted 2015-05-08 15:18:00 -07:00
solaris_ia32.map
static-checking-config.mk
static-checking.js
stl-headers
string-format.js
system-headers Bug 866301 - Part 1. Add unorm.h to system-headers. r=glandium 2015-04-21 17:31:26 +09:00
version.mk Bug 1099430, mozilla-central parts: Eliminate the duplication of the build system in comm-central, r=glandium. 2014-11-29 19:45:31 -06:00
version_win.pl