summary refs log tree commit diff
path: root/mk
AgeCommit message (Collapse)AuthorLines
2013-09-25rustdoc: Add sundown to src/rt/Alex Crichton-3/+17
This also starts compiling it in the same manner as linenoise, it's just bundled with librustrt directly, and we export just a few symbols out of it.
2013-09-23Add rustpkg tutorial to the official tutorials.Steve Klabnik-0/+10
Three things in this commit: 1. Actually build the rustpkg tutorial. I didn't know I needed this when I first wrote it. 2. Link to it rather than the manual from the tutorial. 3. Update the headers: most of them were one level too deeply nested.
2013-09-22Place *all* rustdoc output in doc/{crate}Alex Crichton-1/+2
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-91/+7
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
2013-09-23Remove the C(++) ISAAC Rng from the old rt.Huon Wilson-1/+0
This has to leave rust_gen_seed and rng_gen_seed around since they're used to initialise the std::rand RNGs.
2013-09-21Fix the dependencies of rustdoc_ng doc generationAlex Crichton-6/+6
This needs libstd in its proper location to resolve references when generating docs for libextra.
2013-09-20Implement a web backend for rustdoc_ngAlex Crichton-0/+15
This large commit implements and `html` output option for rustdoc_ng. The executable has been altered to be invoked as "rustdoc_ng html <crate>" and it will dump everything into the local "doc" directory. JSON can still be generated by changing 'html' to 'json'. This also fixes a number of bugs in rustdoc_ng relating to comment stripping, along with some other various issues that I found along the way. The `make doc` command has been altered to generate the new documentation into the `doc/ng/$(CRATE)` directories.
2013-09-20Invert --cfg debug to --cfg ndebugAlex Crichton-1/+1
Many people will be very confused that their debug! statements aren't working when they first use rust only to learn that they should have been building with `--cfg debug` the entire time. This inverts the meaning of the flag to instead of enabling debug statements, now it disables debug statements. This way the default behavior is a bit more reasonable, and requires less end-user configuration. Furthermore, this turns on debug by default when building the rustc compiler.
2013-09-18auto merge of #9280 : alexcrichton/rust/less-c++, r=brsonbors-1/+0
Some of the functions could be converted to rust, but the functions dealing with signals were moved to rust_builtin.cpp instead (no reason to keep the original file around for one function). Closes #2674 Because less C++ is better C++!
2013-09-18Remove rust_run_program.cppAlex Crichton-1/+0
Some of the functions could be converted to rust, but the functions dealing with signals were moved to rust_builtin.cpp instead (no reason to keep the original file around for one function). Closes #2674
2013-09-18auto merge of #9277 : crabtw/rust/mips, r=brsonbors-2/+3
This patch fixes some errors of MIPS target, however, MIPS C ABI is still broken. I will send another PR to fix the problem. Because MIPS target has no "generic" CPU name, I add --target-cpu and --target-feature to RUST_FLAGS. In order to workaround the "compact frame descriptions incompatible with DWARF2 .eh_frame" problem, the linker I used is CXX but not CC.
2013-09-18auto merge of #9254 : vadimcn/rust/fix-mingw-v4, r=brsonbors-3/+4
Fix Rust build on mingw v4.0 See #9246 for details.
2013-09-18fix compilation errors of mips targetJyun-Yan You-2/+3
2013-09-17auto merge of #9241 : alexcrichton/rust/build-rustdoc-ng, r=catamorphismbors-2/+24
Now rustdoc_ng will be built as both a binary and a library (using the same rules as all the other binaries that rust has). Furthermore, this will also start building rustdoc_ng unit tests (and running them). Note that some `rustdoc_ng` tests were removed, but @cmr says they weren't supposed to be there in the first place. The rustdoc_ng code should also be included in `make install` and `make dist` now.
2013-09-17The purpose of these headers is to fix issues with mingw v4.0, as described ↵Vadim Chugunov-3/+4
in #9246. This works by adding this directory to GCC include search path before mingw system headers directories, so we can intercept their inclusions and add missing definitions without having to modify files in mingw/include.
2013-09-16Add the rustdoc_ng binary to the makefile rulesAlex Crichton-2/+24
Now rustdoc_ng will be built as both a binary and a library (using the same rules as all the other binaries that rust has). Furthermore, this will also start building rustdoc_ng unit tests (and running them).
2013-09-16mk: Fix valgrinding with jemallocBrian Anderson-0/+3
This fixes valgrind on the linux snapshot bot. The command added here makes us require a fairly recent valgrind.
2013-09-16auto merge of #9121 : sanxiyn/rust/arm, r=alexcrichtonbors-3/+4
Ignore failing tests on Android to prepare for #9120.
2013-09-16Pass OS to gyp_uvSeo Sanghyeon-3/+4
2013-09-16Finish addition of rustdoc_ng to Makefiles.Felix S. Klock II-2/+26
2013-09-16Add rustdoc_ngCorey Richardson-0/+19
2013-09-13Convert rust_crate_map.cpp to RustFlorian Hahn-1/+0
Conflicts: src/libstd/rt/logging.rs
2013-09-09auto merge of #9033 : alexcrichton/rust/libuv-makefile-dep, r=brsonbors-1/+1
This way the rule isn't always built whenever you fire off a new build
2013-09-07Give the libuv makefile generation a dependencyAlex Crichton-1/+1
This way the rule isn't always built whenever you fire off a new build
2013-09-07Run gyp with CFG_PYTHON which is python < 3Alex Crichton-1/+1
This is required for systems where /usr/bin/python is actually python 3
2013-09-06Upgrade libuv to the current master (again)Alex Crichton-11/+26
This is a reopening of the libuv-upgrade part of #8645. Hopefully this won't cause random segfaults all over the place. The windows regression in testing should also be fixed (it shouldn't build the whole compiler twice). A notable difference from before is that gyp is now a git submodule instead of always git-cloned at make time. This allows bundling for releases more easily. Closes #8850
2013-09-06auto merge of #9017 : vadimcn/rust/rustllvm-build, r=alexcrichtonbors-1/+1
After recent build directory reorg, building from scratch fails (at least on Windows), because it can't find llvm-config.h.
2013-09-06Un-hork the bots by removing intermediate filesAlex Crichton-1/+1
The new glob tests created tmp/glob-tests as a directory, but the never removed it. The `make clean` target then attempted to `rm -f` on this, but it couldn't remove the directory. This both changes the clean target to `rm -rf` tmp files, and also alters the tests to delete the directory that all the files are added into.
2013-09-05Fixed makefile to point to the new llvm build directory.Vadim Chugunov-1/+1
2013-09-05Don't run lint over gyp files (they just fail anyway)Alex Crichton-0/+1
2013-09-05auto merge of #8975 : alexcrichton/rust/reorganize, r=pnkfelixbors-42/+57
Closes #2302
2013-09-04Move the `rt` build directory under $targetAlex Crichton-37/+42
Closes #2302
2013-09-04auto merge of #8880 : fhahn/rust/issue_8703, r=brsonbors-1/+0
I've started working on #8703. RUST_LOG="::help" should work, I hope I'll be able to finish the rest this weekend.
2013-09-04Convert rust_log.cpp to Rust, closes #8703Florian Hahn-1/+0
2013-09-03Build rustllvm into $target/rustllvmAlex Crichton-5/+5
2013-09-03Move the llvm auto-clean stamp into $target/llvmAlex Crichton-1/+11
2013-09-01small cleanup of previous commit with mucho comments.Felix S. Klock II-4/+14
2013-09-01hypothetical fix for #8865.Felix S. Klock II-3/+6
2013-08-30auto merge of #8886 : cmr/rust/test-restructure, r=cmrbors-5/+4
2013-08-30Revert "src/test/bench: restructure"Corey Richardson-2/+2
This reverts commit 14cdc26e8a7794e437946f46df5769362b42acdf.
2013-08-30Revert "Teach the makefile to use multiple src-base's"Corey Richardson-3/+2
This reverts commit 43f851d2cb3976655078f032dc1a8cb88f1c8deb.
2013-08-29auto merge of #8819 : vadimcn/rust/unit-tests, r=brsonbors-1/+2
Some of the tests are failing. I've only managed to fix 'memory_map_file', the rest are up for grabs... Fixes #5261.
2013-08-29auto merge of #8458 : cmr/rust/test-restructure, r=brsonbors-4/+5
This should make benchmarks easier to understand. But, it doesn't work. BENCH_RS in mk/tests.mk has everything, from what I can tell in remake, but only those that are direct children of src/test/bench get build and run. @graydon, can you lend your expertise? I can't make heads or tails of this makefile.
2013-08-29Revert "auto merge of #8645 : alexcrichton/rust/issue-6436-run-non-blocking, ↵Brian Anderson-36/+10
r=brson" This reverts commit b8d1fa399402c71331aefd634d710004e00b73a6, reversing changes made to f22b4b169854c8a4ba86c16ee43327d6bcf94562. Conflicts: mk/rt.mk src/libuv
2013-08-29auto merge of #8848 : ILyoan/rust/mk_libuv, r=cmrbors-0/+9
2013-08-29auto merge of #8838 : brson/rust/rvfpelim, r=alexcrichtonbors-2/+7
This reverts commit 2c0f9bd35493def5e23f0f43ddeba54da9d788b4, reversing changes made to f8c4f0ea9c96218dbc81081799e77875fbb071de. Conflicts: src/rustllvm/RustWrapper.cpp Fixes #8833
2013-08-29mk: Fix libuv makefile generation on androidIlyong Cho-0/+9
2013-08-28Revert "auto merge of #8695 : thestinger/rust/build, r=pcwalton"Brian Anderson-2/+7
This reverts commit 2c0f9bd35493def5e23f0f43ddeba54da9d788b4, reversing changes made to f8c4f0ea9c96218dbc81081799e77875fbb071de. Conflicts: src/rustllvm/RustWrapper.cpp
2013-08-28Fix compilation issues with libuv on OSXAlex Crichton-1/+6
It turns out that gyp (libuv's new build system) wants x64 for a 64-bit x86 architecture and ia32 for a 32-bit architecture, so this performs the relevant mapping and then invokes libuv's configure script with the appropriate target architecture. This can be verified by running make with VERBOSE=1 and seeing that beforehand on a 64-bit build libuv was passed "-arch i386" and now it's passed "-arch x86_64" Closes #8826
2013-08-28Teach the makefile to use multiple src-base'sCorey Richardson-2/+3