rust/mk
Alex Crichton ec57db083f rustc: Add the concept of a Strict Version Hash
This new SVH is used to uniquely identify all crates as a snapshot in time of
their ABI/API/publicly reachable state. This current calculation is just a hash
of the entire crate's AST. This is obviously incorrect, but it is currently the
reality for today.

This change threads through the new Svh structure which originates from crate
dependencies. The concept of crate id hash is preserved to provide efficient
matching on filenames for crate loading. The inspected hash once crate metadata
is opened has been changed to use the new Svh.

The goal of this hash is to identify when upstream crates have changed but
downstream crates have not been recompiled. This will prevent the def-id drift
problem where upstream crates were recompiled, thereby changing their metadata,
but downstream crates were not recompiled.

In the future this hash can be expanded to exclude contents of the AST like doc
comments, but limitations in the compiler prevent this change from being made at
this time.

Closes #10207
2014-02-28 10:48:04 -08:00
..
clean.mk rustc: Add the concept of a Strict Version Hash 2014-02-28 10:48:04 -08:00
crates.mk rustc: Use libnative for the compiler 2014-02-27 12:03:58 -08:00
ctags.mk Don't make tags for our dependencies and tests. 2013-11-16 13:44:52 +11:00
dist.mk Make OS X installer build from /tmp/dist/pkgroot, and have it be part of the 'make dist' target 2014-02-27 19:59:02 -08:00
docs.mk auto merge of #12114 : brson/rust/faqs, r=cmr 2014-02-08 20:01:27 -08:00
host.mk Refactor the build system for easily adding crates 2014-01-26 00:53:41 -08:00
install.mk Address review feedback 2014-02-16 17:36:43 -08:00
llvm.mk Only build LLVM tools Rust needs. 2014-01-15 17:47:48 -08:00
main.mk auto merge of #12530 : alexcrichton/rust/make-check-no-rpath, r=brson 2014-02-25 07:56:35 -08:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk mk: Remove old flags to llc for arm. 2014-02-15 20:08:33 -05:00
prepare.mk mk: Don't install host rlibs 2014-02-21 10:55:30 -08:00
reconfig.mk mk: Move most of Makefile.in to .mk files 2014-02-14 17:45:54 -08:00
rt.mk Add MKFILE_DEPS to compiler-rt target 2014-02-14 10:46:19 -08: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 Make rustc's own lib directory configurable and change the default to rustlib. Fixes #3319 2014-01-05 12:06:20 +01:00
target.mk Build compiler-rt and link it to all crates, similarly to morestack. 2014-02-11 15:59:59 -08:00
tests.mk auto merge of #12530 : alexcrichton/rust/make-check-no-rpath, r=brson 2014-02-25 07:56:35 -08:00
util.mk mk: Address review feedback 2014-02-14 19:17:50 -08:00