rust/mk
Alex Crichton df4ea9c39a rustc: Stop putting hashes in filenames by default
The compiler will no longer insert a hash or version into a filename by default.
Instead, all output is simply based off the crate name being compiled. For
example, a crate name of `foo` would produce the following outputs:

* bin => foo
* rlib => libfoo.rlib
* dylib => libfoo.{so,dylib} or foo.dll
* staticlib => libfoo.a

The old behavior has been moved behind a new codegen flag,
`-C extra-filename=<hash>`. For example, with the "extra filename" of `bar` and
a crate name of `foo`, the following outputs would be generated:

* bin => foo (same old behavior)
* rlib => libfoobar.rlib
* dylib => libfoobar.{so,dylib} or foobar.dll
* staticlib => libfoobar.a

The makefiles have been altered to pass a hash by default to invocations of
`rustc` so all installed rust libraries will have a hash in their filename. This
is done because the standard libraries are intended to be installed into
privileged directories such as /usr/local. Additionally, it involves very few
build system changes!

RFC: 0035-remove-crate-id
[breaking-change]
2014-07-05 12:45:42 -07:00
..
clean.mk mk: Don't rm 'dist' during clean, just its contents 2014-03-24 14:29:19 -07:00
crates.mk sync: Move underneath libstd 2014-06-11 10:00:43 -07:00
ctags.mk Don't make tags for our dependencies and tests. 2013-11-16 13:44:52 +11:00
dist.mk Fix distcheck 2014-06-30 09:13:09 -07:00
docs.mk Allow external html in rustdoc for crates. 2014-06-30 00:03:34 -07:00
host.mk mk: Add libcore 2014-05-07 08:12:48 -07:00
install.mk Made 'make install' include libs for additional targets 2014-04-08 00:03:12 -07:00
llvm.mk llvm: Add an option to statically link libstdc++ 2014-04-17 11:39:51 -07:00
main.mk rustc: Stop putting hashes in filenames by default 2014-07-05 12:45:42 -07:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk Build rustc with /LARGEADDRESSAWARE on windows. 2014-07-02 20:22:35 -07:00
prepare.mk mk: Fix make install 2014-05-07 23:23:17 -07:00
reconfig.mk mk: Move most of Makefile.in to .mk files 2014-02-14 17:45:54 -08:00
rt.mk alloc: Allow disabling jemalloc 2014-06-16 18:15:48 -07:00
rustllvm.mk Remove VPATH usage in Makefiles 2014-02-02 10:59:14 -08:00
snap.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
stage0.mk remove unnecessary PaX detection 2014-06-13 13:53:35 -07:00
target.mk rustc: Stop putting hashes in filenames by default 2014-07-05 12:45:42 -07:00
tests.mk Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
util.mk mk: Address review feedback 2014-02-14 19:17:50 -08:00