summary refs log tree commit diff
path: root/mk
AgeCommit message (Collapse)AuthorLines
2014-01-08auto merge of #11407 : alexcrichton/rust/fix-snap, r=brsonbors-0/+4
If we bootstrap a cross compile from a stage1 compiler, then the stage1 compiler already knows about the rustc => rustlib change, so we need to not add the extra flag if it's a stage0 version of a target from a stage1 of another target.
2014-01-08Fix the snapshot and cross compilationAlex Crichton-0/+4
If we bootstrap a cross compile from a stage1 compiler, then the stage1 compiler already knows about the rustc => rustlib change, so we need to not add the extra flag if it's a stage0 version of a target from a stage1 of another target.
2014-01-07mk: Start testing the cheatsheetBrian Anderson-0/+1
2014-01-07auto merge of #11364 : brson/rust/docs, r=alexcrichtonbors-6/+13
This reorganizes the documentation index to be more focused on the in-tree docs, and to clean up the style, and it also adds @steveklabnik's pointer guide.
2014-01-07Make CFG_LIBDIR configurable. Fixes #5223Jan Niklas Hasse-10/+8
2014-01-06auto merge of #11355 : alexcrichton/rust/read-waits-forever, r=brsonbors-24/+20
All the fun is down below.
2014-01-06Fix parallel makefile buildsAlex Crichton-24/+20
All the copying of files amongst one another was apparently causing something to get corrupted. Instead of having files fly around, just update the directories to link to.
2014-01-06Add Pointer tutorial, rename borrowed pointer tutorial.Steve Klabnik-4/+11
2014-01-06mk: Fix formatting of docs.mkBrian Anderson-2/+2
2014-01-06auto merge of #11354 : brson/rust/versionwin, r=alexcrichtonbors-1/+1
The makefiles and the windows installer disagree on the name of this file. In practical terms this change only means that the '-pre' installers will be named 'rust-0.9-pre-install.exe' instead 'rust-0.9-install.exe'.
2014-01-06auto merge of #11123 : alan-andrade/rust/move_wiki_to_internal_docs, r=brsonbors-42/+72
This is not done yet but I'm posting it to get feedback. The wiki has a ton of different tutorials/manuals/faq and so forth. Instead of migrating all of them right now, I just migrated the following: * The general main wiki page * Language FAQ * Project FAQ If this feels reasonable, please comment so that I can continue with confidence.
2014-01-06Delete the installer exe when cleaningBrian Anderson-1/+1
2014-01-06rust_version.html is a HTML_DEPS and every html has it as dependecyAlan Andrade-34/+29
2014-01-06First phase of migrating the wiki to the internal docs #11078Alan Andrade-12/+47
2014-01-06auto merge of #11118 : jhasse/rust/patch-rustlibdir, r=alexcrichtonbors-3/+23
...stlib. Fixes #3319
2014-01-05Convert sub tutorials into Guides #10838Alan Andrade-19/+25
Ensure configure creates doc/guides directory Fix configure makefile and tests Remove old guides dir and configure option, convert testing to guide Remove ignored files Fix submodule issue prepend dir in makefile so that bor knows how to build the docs S to uppercase
2014-01-05Make rustc's own lib directory configurable and change the default to ↵Jan Niklas Hasse-3/+23
rustlib. Fixes #3319
2014-01-04auto merge of #11307 : vadimcn/rust/test-adb, r=brsonbors-16/+16
Fix android device detection when connected to a remote emulator (in this case device name contains ':'). Use $(CFG_ADB) for all adb invocations.
2014-01-04auto merge of #11290 : alexcrichton/rust/testname, r=brsonbors-3/+3
Closes #11288 Closes #11222
2014-01-04auto merge of #11301 : vadimcn/rust/fix-android, r=brsonbors-1/+15
This fixes stack unwinding on targets using ARM EHABI. closes #11147
2014-01-04Fix android device detection when connected to a remote emulator (in this ↵Vadim Chugunov-16/+16
case device name contains ':'). Use $(CFG_ADB) for all adb invocations.
2014-01-03Fix ARM unwinding.Vadim Chugunov-1/+15
2014-01-03mk: Fix llvmdeps.rs dependenciesBrian Anderson-3/+3
In a multi-host build the mklldeps.py tool is getting called before all the llvm-configs are built. I am not actually sure the cause. I had convinced myself that DEF_LLVM_RULES needed to be called before the llvmdeps.rs rule, but now looking at it again I can't see why.
2014-01-03Change rmake and doc-test to support TESTNAMEAlex Crichton-3/+3
Closes #11288 Closes #11222
2013-12-31Add testing tutorial to docsJulia Evans-0/+7
2013-12-29Add a compiler-docs targetCorey Richardson-2/+13
2013-12-28Add docs for more cratesCorey Richardson-0/+4
2013-12-26Register new snapshotsAlex Crichton-1/+0
2013-12-26auto merge of #10965 : alexcrichton/rust/libgreen, r=brsonbors-31/+116
This pull request extracts all scheduling functionality from libstd, moving it into its own separate crates. The new libnative and libgreen will be the new way in which 1:1 and M:N scheduling is implemented. The standard library still requires an interface to the runtime, however, (think of things like `std::comm` and `io::println`). The interface is now defined by the `Runtime` trait inside of `std::rt`. The booting process is now that libgreen defines the start lang-item and that's it. I want to extend this soon to have libnative also have a "start lang item" but also allow libgreen and libnative to be linked together in the same process. For now though, only libgreen can be used to start a program (unless you define the start lang item yourself). Again though, I want to change this soon, I just figured that this pull request is large enough as-is. This certainly wasn't a smooth transition, certain functionality has no equivalent in this new separation, and some functionality is now better enabled through this new system. I did my best to separate all of the commits by topic and keep things fairly bite-sized, although are indeed larger than others. As a note, this is currently rebased on top of my `std::comm` rewrite (or at least an old copy of it), but none of those commits need reviewing (that will all happen in another pull request).
2013-12-24mk: Fix doc tests for multiple targetsAlex Crichton-10/+16
It only really makes sense to run tests for the build target anyway because it's not guaranteed that you can execute other targets. This is blocking the next snapshot
2013-12-24make: Fix deps of rmake tests and host filesAlex Crichton-2/+2
The rmake tests should depend on the target libraries (for linking), not just the host libraries (for running). The host file dependencies are also correct now because HLIBRUSTC_DEFAULT doesn't actually exist.
2013-12-24make: Don't have libsyntax depend on librustuvAlex Crichton-1/+0
It doesn't actually and we can get better incremental build times for modifications to librustuv if libsyntax/librustc don't need to get rebuilt
2013-12-24Test fixes and rebase problemsAlex Crichton-5/+2
Note that this removes a number of run-pass tests which are exercising behavior of the old runtime. This functionality no longer exists and is thoroughly tested inside of libgreen and libnative. There isn't really the notion of "starting the runtime" any more. The major notion now is "bootstrapping the initial task".
2013-12-24std: Get stdtest all passing againAlex Crichton-3/+3
This commit brings the library up-to-date in order to get all tests passing again
2013-12-24make: Add all the make support for lib{native,green}Alex Crichton-25/+114
This should now begin distribution of lib{green,native} in rlib/dylib format as well as building them as part of the normal build process.
2013-12-24Stop using C++ exceptions for stack unwinding.Vadim Chugunov-10/+12
2013-12-23mk: Run doc tests as part of 'make check'Alex Crichton-0/+27
Don't run doc tests during make check-fast because it involves spawning lots of processes.
2013-12-22auto merge of #11069 : alexcrichton/rust/issue-11067, r=brsonbors-6/+17
Turns out libuv's build system doesn't like us telling them that the build directory is a relative location, as it always spits out a warning about a circular dependency being dropped. By using an absolute path, turns out the warnings isn't spit out, who knew? Closes #11067
2013-12-22uv: Suppress a warning by using an absolute pathAlex Crichton-6/+17
Turns out libuv's build system doesn't like us telling them that the build directory is a relative location, as it always spits out a warning about a circular dependency being dropped. By using an absolute path, turns out the warnings isn't spit out, who knew? Closes #11067
2013-12-22auto merge of #11096 : brson/rust/pp, r=alexcrichtonbors-39/+0
2013-12-22auto merge of #11114 : klutzy/rust/a, r=cmrbors-0/+1
2013-12-22mk: Clean .lib filesklutzy-0/+1
2013-12-21auto merge of #11095 : brson/rust/issue-11094, r=alexcrichtonbors-0/+9
2013-12-20mk: Remove obsolete source reformatting rulesBrian Anderson-39/+0
2013-12-20mk: Work around problem with run-make tests on multiple targets. #11094Brian Anderson-0/+9
2013-12-18auto merge of #10977 : brson/rust/androidtest, r=brsonbors-11/+8
#10975 For a while I thought the android test bot was succeeding but it wasn't really testing anything at all.
2013-12-18Make Android tests fail if no device is availableBrian Anderson-11/+8
2013-12-18auto merge of #11032 : cmr/rust/rustdoc_test, r=alexcrichtonbors-2/+3
This is just a smoke test which verifies that the expected files are generated.
2013-12-18Add a rustdoc testCorey Richardson-2/+3
This is just a smoke test which verifies that the expected files are generated. Also makes the rmake tests have the right deps.
2013-12-18mklldeps.py: Write to file instead of printklutzy-2/+1
It seems that msys automatically converts `\n` to `\r\n` on pipe redirection, which causes `make tidy` failure.