Skip to content

Add a Cargo-based build system to replace the Makefiles #27003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e645ed5
Add Cargo-based build system
cl91 Jul 13, 2015
37755fe
Fix compiletest run-pass fds-are-cloexec
cl91 Jul 13, 2015
6af9387
Add lang_items to librustc_bitflags
cl91 Jul 13, 2015
969c974
Slience warnings when running cargo test on crates
cl91 Jul 13, 2015
4f96077
Update .gitignore
cl91 Jul 13, 2015
6042556
Make build.sh executable
cl91 Jul 13, 2015
92fae85
Fix compilation of librustc_llvm under Cargo
cl91 Jul 13, 2015
c0fe709
Fix doctests of libgetops, liblog, librustc, libsyntax, and librustdoc
cl91 Jul 13, 2015
769b18c
Update README.md to include instructions on building with Cargo
cl91 Jul 13, 2015
85c3ade
Update compiler-rt
cl91 Jul 13, 2015
f47c848
Add ArchiveWrapper.cpp when building rustllvm
cl91 Jul 13, 2015
cdcc1ac
Make build_llvm.py and build_rust.py compatible with Python3
cl91 Jul 14, 2015
bc8d465
Fix year in copyright notice
cl91 Jul 14, 2015
c7bbd39
Add trailing '\n' in src/compiletest/Cargo.toml
cl91 Jul 14, 2015
49a0466
Add from __future__ import print_function
cl91 Jul 14, 2015
a7e0eb8
Use python2 instead of python in librustc_llvm/build.rs
cl91 Jul 14, 2015
6cab349
Detect gdb version and feed into compiletest
cl91 Jul 14, 2015
70858dc
Fix .gitignore
cl91 Jul 15, 2015
2a795be
Refactor build_rust_stagei into build_rust_stage
cl91 Jul 14, 2015
4b59341
Remove LTO for release builds. Remove opt-level=1 for debug builds.
cl91 Jul 15, 2015
ff8b83f
Link `rustc` and `rustdoc` dynamically rather than statically
cl91 Jul 15, 2015
90f55a7
Remove `struct Triple` in `build_helper::cc`
cl91 Jul 15, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix .gitignore
  • Loading branch information
cl91 committed Jul 15, 2015
commit 70858dc07e9eed91e3bfeda92f0780919337be3c
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,5 @@ version.ml
version.texi
*.racertmp
Cargo.lock
/src/*/target
/src/*/tmp
/target/
target
!/src/librustc_back/target
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can probably be refactored to just:

Cargo.lock
target
!src/librustc_back/target