about summary refs log tree commit diff
path: root/src/test/compile-fail/auxiliary
AgeCommit message (Collapse)AuthorLines
2016-11-22Auto merge of #37681 - nrc:crate-metadata, r=@alexcrichtonbors-0/+32
add --crate-type metadata r? @alexcrichton
2016-11-21Fix fallout in tests.Jeffrey Seyfried-98/+0
2016-11-21TestsNick Cameron-0/+32
2016-11-08Partially stabilize RFC 1506 "Clarify relationships between ADTs"Vadim Petrochenkov-5/+1
2016-11-02Add regression test.Jeffrey Seyfried-0/+16
2016-10-25Support `use $crate;` with a future compatibility warning.Jeffrey Seyfried-0/+12
2016-10-04Fix cross-crate resolution of half-items created by export shadowingVadim Petrochenkov-0/+163
2016-09-25fix 36708Tim Neumann-0/+15
2016-09-20rustc_resolve: bring back "struct called like a function" cross-crate.Eduard Burtescu-0/+13
2016-09-09Issue deprecation warnings for safe accesses to extern staticsVadim Petrochenkov-0/+14
2016-08-13Remove restrictions from tuple structs/variantsVadim Petrochenkov-0/+4
Hard errors are turned into feature gates
2016-07-08Add tests + Fix rustdoc regression + Fix rebaseVadim Petrochenkov-0/+10
2016-06-29Add regression testJeffrey Seyfried-0/+13
2016-05-19rustc: Add a new crate type, cdylibAlex Crichton-0/+11
This commit is an implementation of [RFC 1510] which adds a new crate type, `cdylib`, to the compiler. This new crate type differs from the existing `dylib` crate type in a few key ways: * No metadata is present in the final artifact * Symbol visibility rules are the same as executables, that is only reachable `extern` functions are visible symbols * LTO is allowed * All libraries are always linked statically This commit is relatively simple by just plubming the compiler with another crate type which takes different branches here and there. The only major change is an implementation of the `Linker::export_symbols` function on Unix which now actually does something. This helps restrict the public symbols from a cdylib on Unix. With this PR a "hello world" `cdylib` is 7.2K while the same `dylib` is 2.4MB, which is some nice size savings! [RFC 1510]: https://github.com/rust-lang/rfcs/pull/1510 Closes #33132
2016-05-07test: adjust for the move to MIR-based const checking.Eduard Burtescu-1/+1
2016-05-06s/aux/auxiliary, because windowsNiko Matsakis-0/+2281
For legacy reasons (presumably), Windows does not permit files name aux.