summary refs log tree commit diff
path: root/src/test/run-make
AgeCommit message (Collapse)AuthorLines
2017-04-20rustc_trans: do not treat byval as using up registers.Eduard-Mihai Burtescu-0/+23
2017-04-20Properly adjust filenames when multiple emissionsSimonas Kazlauskas-0/+18
Fixes #40993
2017-03-20Regression test for rust-lang/rust#40535Austin Bonander-0/+49
2017-03-12Auto merge of #40446 - arielb1:rollup, r=alexcrichtonbors-1/+23
Rollup of 12 pull requests - Successful merges: #40146, #40299, #40315, #40319, #40344, #40345, #40372, #40373, #40400, #40404, #40419, #40431 - Failed merges:
2017-03-11Auto merge of #40220 - jseyfried:ast_macro_def, r=nrcbors-0/+1
syntax: add `ast::ItemKind::MacroDef`, simplify hygiene info This PR - adds a new variant `MacroDef` to `ast::ItemKind` for `macro_rules!` and eventually `macro` items, - [breaking-change] forbids macro defs without a name (`macro_rules! { () => {} }` compiles today), - removes `ast::MacroDef`, and - no longer uses `Mark` and `Invocation` to identify and characterize macro definitions. - We used to apply (at least) two `Mark`s to an expanded identifier's `SyntaxContext` -- the definition mark(s) and the expansion mark(s). We now only apply the latter. r? @nrc
2017-03-11Rollup merge of #40373 - TimNN:test-ub-packed, r=arielb1Ariel Ben-Yehuda-1/+23
Fix UB in repr(packed) tests r? @arielb1 cc #37609 and #27060
2017-03-10rustc: Exit quickly on only `--emit dep-info`Alex Crichton-0/+19
This commit alters the compiler to exit quickly if the only output being emitted is `dep-info`, which doesn't need a lot of other information to generate. Closes #40328
2017-03-10Refactor out `ast::ItemKind::MacroDef`.Jeffrey Seyfried-0/+1
2017-03-08fix UB in repr(packed) testsTim Neumann-1/+23
2017-03-04run-make on MSVC: Do not generate object files in the source directoryVadim Petrochenkov-1/+1
2017-03-02Rollup merge of #40173 - er-1:master, r=alexcrichtonGuillaume Gomez-2/+2
Add a reference to the dl library to the Makefile of the test issue-2… …4445. It prevents the test to fail on ppc64el at least. Part of #39015
2017-03-01Auto merge of #39803 - brson:fpic, r=alexcrichtonbors-0/+24
Add a test that -fPIC is applied r? @alexcrichton Can it really be this simple? I've tested it works, but still testing that it used to fail.
2017-03-01Don't run test on darwinAlex Crichton-2/+6
2017-03-01Add a reference to the dl library to the Makefile of the test issue-24445.er-1-2/+2
It prevents the test to fail on ppc64el at least. Part of #39015
2017-02-25Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakisEduard-Mihai Burtescu-32/+32
Normalize labeled and unlabeled breaks Part of #39849.
2017-02-21test: Verify all sysroot crates are unstableAlex Crichton-0/+34
As we continue to add more crates to the compiler and use them to implement various features we want to be sure we're not accidentally expanding the API surface area of the compiler! To that end this commit adds a new `run-make` test which will attempt to `extern crate foo` all crates in the sysroot, verifying that they're all unstable. This commit discovered that the `std_shim` and `test_shim` crates were accidentally stable and fixes the situation by deleting those shims. The shims are no longer necessary due to changes in Cargo that have happened since they were originally incepted.
2017-02-18Add tests for control flow in while conditionTaylor Cramer-32/+32
2017-02-15Add a test that -fPIC is appliedBrian Anderson-0/+20
2017-02-14Rollup merge of #39785 - alexcrichton:no-thread-sanitizer, r=japaricCorey Farwell-31/+0
test: Remove sanitizer-thread test Unfortunately it appears to spuriously fail so we can't gate on it
2017-02-13test: Remove sanitizer-thread testAlex Crichton-31/+0
Unfortunately it appears to spuriously fail so we can't gate on it
2017-02-11Add tested item in the rustdoc --test outputGuillaume Gomez-1/+1
2017-02-08sanitizer-dylib: only run where std for x86_64-linux is availableJorge Aparicio-1/+5
2017-02-08fix the sanitizer-dylib test on non x86_64 linux hostsJorge Aparicio-1/+1
2017-02-08build/test the sanitizers only when --enable-sanitizers is usedJorge Aparicio-49/+4
2017-02-08sanitizer supportJorge Aparicio-0/+187
2017-02-06Revert "Add 128-bit atomics"Alex Crichton-9/+1
This reverts commit 9903975003276cc42a1ed5f21eee292b7c62c331.
2017-02-05Rollup merge of #38959 - Amanieu:atomic128, r=alexcrichtonCorey Farwell-1/+9
Add 128-bit atomics This is currently only supported on AArch64 since that is the only target which unconditionally supports 128-bit atomic operations. cc #35118
2017-02-04Auto merge of #38426 - vadimcn:nobundle, r=alexcrichtonbors-0/+95
Implement kind="static-nobundle" (RFC 1717) This implements the "static-nobundle" library kind (last item from #37403). Rustc handles "static-nobundle" libs very similarly to dylibs, except that on Windows, uses of their symbols do not get marked with "dllimport". Which is the whole point of this feature.
2017-02-03Don't link "nobundle" libs which had already been included in upstream crate.Vadim Chugunov-17/+49
2017-02-03Update run-make/issue-22131 to new rustdoc --test formatGuillaume Gomez-1/+1
2017-01-19Feature gateVadim Chugunov-0/+1
2017-01-19Implement the "static-nobundle" library kind (RFC 1717).Vadim Chugunov-0/+62
These are static libraries that are not bundled (as the name implies) into rlibs and staticlibs that rustc generates, and must be present when the final binary artifact is being linked.
2017-01-10Add 128-bit atomicsAmanieu d'Antras-1/+9
2017-01-09trans: Treat generics like regular functions, not like #[inline] functions ↵Michael Woerister-18/+43
during CGU partitioning.
2017-01-04Auto merge of #38783 - alexcrichton:stabilize-proc-macro, r=nikomatsakisbors-7/+0
rustc: Stabilize the `proc_macro` feature This commit stabilizes the `proc_macro` and `proc_macro_lib` features in the compiler to stabilize the "Macros 1.1" feature of the language. Many more details can be found on the tracking issue, #35900. Closes #35900
2017-01-02rustc: Stabilize the `proc_macro` featureAlex Crichton-7/+0
This commit stabilizes the `proc_macro` and `proc_macro_lib` features in the compiler to stabilize the "Macros 1.1" feature of the language. Many more details can be found on the tracking issue, #35900. Closes #35900
2017-01-01Fix pre-cfg_attr notation in commentest31-1/+1
Commit aa3b1261b164eeac3e68573bfc698d1ca943fb05 has changed notation in the test from `#[ignore(cfg(ignorecfg))]` to `#[cfg_attr(ignorecfg, ignore)]`, but missed to change the comment in the accompanying Makefile.
2016-12-28rustc: always print nested nodes where a HIR map is available.Eduard-Mihai Burtescu-7/+7
2016-12-28hir: lower `ImplicitSelf` to resolved `Self` TyQPath's.Eduard-Mihai Burtescu-2/+3
2016-12-23Fix rustdoc ICE.Jeffrey Seyfried-0/+57
2016-12-08Auto merge of #38195 - rkruppe:llvm-pass-name-fwdcompat, r=alexcrichtonbors-2/+12
[LLVM 4.0] test/run-make/llvm-pass/ cc #37609
2016-12-06[LLVM 4.0] test/run-make/llvm-pass/Robin Kruppe-2/+12
2016-12-06Auto merge of #37994 - upsuper:msvc-link-opt, r=alexcrichtonbors-2/+2
Don't apply msvc link opts for non-opt build `/OPT:REF,ICF` sometimes takes lots of time. It makes no sense to apply them when doing debug build. MSVC's linker by default disables these optimizations when `/DEBUG` is specified, unless they are explicitly passed.
2016-12-06Auto merge of #37973 - vadimcn:dllimport, r=alexcrichtonbors-10/+8
Implement RFC 1717 Implement the first two points from #37403. r? @alexcrichton
2016-12-05Annotate more tests with kind="static"Vadim Chugunov-8/+8
2016-12-05Make symbol-visibility test case work on all platforms.Michael Woerister-9/+33
2016-12-05Add test case for symbol visibility in dylibs.Michael Woerister-0/+101
2016-12-05Refactor symbol export list generation.Michael Woerister-2/+2
2016-12-04Disable ICF opt of MSVC for non-opt buildXidorn Quan-2/+2
2016-12-02rustc: add basic test for --print target-specDoug Goldstein-0/+1
This is a very basic test of the --print target-spec feature. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>