0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 13:18:54 +01:00
The Rust compiler https://www.rust-lang.org/
Go to file
Austin Seipp b513a5a500 Make valgrind usage more consistent and less error prone.
I was still having issues with the build system somehow getting confused
as to which set of valgrind headers to use when compiling rt.

This commit moves all the valgrind headers into their own directory
under rt and makes the usage more consistent. The compiler is now passed
the -DNVALGRIND flag when valgrind is not installed, as opposed to
passing -DHAVE_VALGRIND.

We also pass -I src/rt to the compiler when building rt so you can more
easily import what you want. I also cleaned up some erroneous #includes
along the way.

It should be safe to always just import the local valgrind headers and use
them without question. NVALGRIND turns the operations to no-ops when it
is active, and the build and tests run cleanly with or without.
2011-12-06 01:15:29 -06:00
doc doc: added definition of trivial casts to spec 2011-12-02 11:38:24 -08:00
man rustc: Add a flag '--warn-unused-imports' 2011-11-17 09:28:30 +01:00
mk Make valgrind usage more consistent and less error prone. 2011-12-06 01:15:29 -06:00
src Make valgrind usage more consistent and less error prone. 2011-12-06 01:15:29 -06:00
.gitignore .gitignore a bunch of artifacts of in-tree builds 2011-11-19 13:49:49 -08:00
.gitmodules Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
AUTHORS.txt Add Stefan Plantikow to AUTHORS.txt 2011-11-15 18:04:37 -08:00
configure configure: LLVM 3.0 no longer supported 2011-12-04 15:01:41 -08:00
LICENSE.txt Reflow at 60 columns. Nsis seems happy. Close #1010. 2011-11-29 19:28:38 -08:00
Makefile.in Upgrade LLVM to svn revision 145779 2011-12-04 14:59:56 -08:00
README

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://www.rust-lang.org for more information.