| Age | Commit message (Collapse) | Author | Lines |
|
|
|
- Add the llvm intrinsics used to manipulate a va_list.
- Add the va_list lang item in order to allow implementing
VaList in libcore.
|
|
|
|
Brings in some fixes and stabilizations!
|
|
This commit deletes the `alloc_system` crate from the standard
distribution. This unstable crate is no longer needed in the modern
stable global allocator world, but rather its functionality is folded
directly into the standard library. The standard library was already the
only stable location to access this crate, and as a result this should
not affect any stable code.
|
|
This commit adds opt-in support to the compiler to link to `jemalloc` in
the compiler. When activated the compiler will depend on `jemalloc-sys`,
instruct jemalloc to unprefix its symbols, and then link to it. The
feature is activated by default on Linux/OSX compilers for x86_64/i686
platforms, and it's not enabled anywhere else for now. We may be able to
opt-in other platforms in the future! Also note that the opt-in only
happens on CI, it's otherwise unconditionally turned off by default.
Closes #36963
|
|
This commit removes all jemalloc related submodules, configuration, etc,
from the bootstrap, from the standard library, and from the compiler.
This will be followed up with a change to use jemalloc specifically as
part of rustc on blessed platforms.
|
|
|
|
when you try to edit a crate inside the compiler tree using rls, it
generates it's assets under target/rls, then tidy is trying to validate
line lenghts for C headers, etc
|
|
This commit brings in a few Cargo updates
* Updates Cargo with experimental HTTP/2 support - a post on the forums
will be made about testing this when available.
* Bumps Cargo's own version number
|
|
tidy: Cleanups and clippy warning fixes
This eliminates various clippy warnings in the tidy tool, as well as
making some related cleanups. These changes should not introduce any
functional differences.
|
|
|
|
|
|
The match expression immediately below it checks the same condition.
|
|
|
|
Use `if let` to simplify a match, and use `contains_key` instead of
`get`.
|
|
This improves readability and eliminates a clippy warning.
|
|
|
|
This makes the code more readable, and eliminates a clippy warning.
|
|
Drop unnecessary .into_iter() (also fixing a clippy warning), and use
path functions to handle file extensions.
|
|
This also eliminates a clippy warning.
|
|
Dropping the redundant lifetimes also eliminates a clippy warning.
|
|
|
|
Also eliminates a clippy lint.
|
|
Eliminates a clippy warning.
Also drop the unnecessary `.peekable()`.
|
|
Use `.nth(n)` rather than `.skip(n).next()` (also fixes a clippy
warning), and use `.into()` and a type signature rather than
`PathBuf::from`.
|
|
Fixes a clippy warning, and improves readability.
|
|
Fixes the clippy "single_char_pattern" lint, and (marginally) improves
performance.
|
|
Also update Cargo's dependencies while we're at it
|
|
Tidy CFTE/MIRI
Fixes #53596
|
|
tidy: Stop requiring a license header
Previously approved in rust-lang/rust#43498 ; update tidy to match.
|
|
|
|
or "".into()
|
|
Previously approved in rust-lang/rust#43498 ; update tidy to match.
|
|
|
|
Tidy: ignore non-Markdown files when linting for the Unstable Book
Previously, any file would be assumed a `.md`, which is annoying when files like `.DS_STORE` slip in and then cause tidy errors.
|
|
|
|
This optionally adds lldb (and clang, which it needs) to the build.
Because rust uses LLVM 7, and because clang 7 is not yet released, a
recent git master version of clang is used.
The lldb that is used includes the Rust plugin.
lldb is only built when asked for, or when doing a nightly build on
macOS. Only macOS is done for now due to difficulties with the Python
dependency.
|
|
directory.
|
|
Enable the tidy check to forbid this!
Closes #53006
|
|
author: alexcrichton
|
|
These have been replaced by more reliable checks in the compiler itself.
|
|
|
|
Should hopefully bring in a few more `cargo fix`-related fixes.
|
|
|
|
|
|
ensure all packages in Cargo.lock will be vendored, and fail if the
source packages isn't whitelisted.
|
|
|
|
|
|
|