| Age | Commit message (Collapse) | Author | Lines |
|
|
|
Fixes #40993
|
|
|
|
Rollup of 12 pull requests
- Successful merges: #40146, #40299, #40315, #40319, #40344, #40345, #40372, #40373, #40400, #40404, #40419, #40431
- Failed merges:
|
|
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
|
|
Fix UB in repr(packed) tests
r? @arielb1
cc #37609 and #27060
|
|
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
|
|
|
|
|
|
|
|
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
|
|
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.
|
|
|
|
It prevents the test to fail on ppc64el at least.
Part of #39015
|
|
Normalize labeled and unlabeled breaks
Part of #39849.
|
|
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.
|
|
|
|
|
|
test: Remove sanitizer-thread test
Unfortunately it appears to spuriously fail so we can't gate on it
|
|
Unfortunately it appears to spuriously fail so we can't gate on it
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 9903975003276cc42a1ed5f21eee292b7c62c331.
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
during CGU partitioning.
|
|
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
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
[LLVM 4.0] test/run-make/llvm-pass/
cc #37609
|
|
|
|
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.
|
|
Implement RFC 1717
Implement the first two points from #37403.
r? @alexcrichton
|
|
|
|
|
|
|
|
|
|
|
|
This is a very basic test of the --print target-spec feature.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
|