rust/mk
Alex Crichton 9fbba7b2ee Statically link librustrt to libstd
This commit alters the build process of the compiler to build a static
librustrt.a instead of a dynamic version. This means that we can stop
distributing librustrt as well as default linking against it in the compiler.

This also means that if you attempt to build rust code without libstd, it will
no longer work if there are any landing pads in play. The reason for this is
that LLVM and rustc will emit calls to the various upcalls in librustrt used to
manage exception handling. In theory we could split librustrt into librustrt and
librustupcall. We would then distribute librustupcall and link to it for all
programs using landing pads, but I would rather see just one librustrt artifact
and simplify the build process.

The major benefit of doing this is that building a static rust library for use
in embedded situations all of a sudden just became a whole lot more feasible.

Closes #3361
2013-11-29 18:36:14 -08:00
..
clean.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
ctags.mk Don't make tags for our dependencies and tests. 2013-11-16 13:44:52 +11:00
dist.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
docs.mk rustdoc: pass through --cfg to rustc 2013-11-24 23:33:44 -05:00
host.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
install.mk Statically link librustrt to libstd 2013-11-29 18:36:14 -08:00
llvm.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
pp.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
rt.mk Statically link librustrt to libstd 2013-11-29 18:36:14 -08:00
rustllvm.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
snap.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
stage0.mk configure: Fix passing multiple target and host triples. 2013-11-01 03:34:16 -04:00
target.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
tests.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
tools.mk Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00