| Age | Commit message (Collapse) | Author | Lines |
|
The previous link is 404.
|
|
Move contributing.md to rustc-dev-guide and point at getting started
See description on https://github.com/rust-lang/rustc-dev-guide/pull/753
|
|
Added responsiveness to image logo based on device width (set at 90% of device width, which can be changed as per requirement)
|
|
Linked the logo/svg to https://www.rust-lang.org/
(change if required)
|
|
|
|
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
|
|
|
|
|
|
Fixed grammar and sentence structure on appropriate instances.
|
|
|
|
https://github.com/rust-lang/rust/pull/72827 changed it from `*.nix` to `Unix-like system`, but actually it should be `a Unix-like system`
|
|
|
|
|
|
Crate name for rustc entry point docs changed. Fixes #70603
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update installed compiler dependencies
As llvm have updated the minimum toolchain
https://reviews.llvm.org/D66188
|
|
there is a soft-error for older toolchains
from https://reviews.llvm.org/D57264 in preparation for the
hard error in https://reviews.llvm.org/D66188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
My problem was user error; thanks to @Zoxc for fixing me!
r? @alexcrichton
|
|
LLVM will soon require 2017+ [1] (and our in-tree version just rejected the version of 2015 I was using), so update the mention and provide a link.
[1]: https://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library
|
|
|
|
|
|
Add additional instructions when `sudo ./x.py install` fails to
complete the build.
This resolves issues #40108 and #49269.
|
|
Point contributors to the rustc-guide...
|
|
Since the bootstrap does it now
|
|
Because it, obviously, changes all the time and 600MiB is way
out-of-date now.
|
|
|
|
|
|
Making it consistent across the board, as most of them already use `$`.
Also split one continues bash run into two, to make it easier see
different runs: one with warning and another with error.
|
|
|
|
|
|
Corrected the grammar of the document.
|
|
|
|
This commit imports the LLD project from LLVM to serve as the default linker for
the `wasm32-unknown-unknown` target. The `binaryen` submoule is consequently
removed along with "binaryen linker" support in rustc.
Moving to LLD brings with it a number of benefits for wasm code:
* LLD is itself an actual linker, so there's no need to compile all wasm code
with LTO any more. As a result builds should be *much* speedier as LTO is no
longer forcibly enabled for all builds of the wasm target.
* LLD is quickly becoming an "official solution" for linking wasm code together.
This, I believe at least, is intended to be the main supported linker for
native code and wasm moving forward. Picking up support early on should help
ensure that we can help LLD identify bugs and otherwise prove that it works
great for all our use cases!
* Improvements to the wasm toolchain are currently primarily focused around LLVM
and LLD (from what I can tell at least), so it's in general much better to be
on this bandwagon for bugfixes and new features.
* Historical "hacks" like `wasm-gc` will soon no longer be necessary, LLD
will [natively implement][gc] `--gc-sections` (better than `wasm-gc`!) which
means a postprocessor is no longer needed to show off Rust's "small wasm
binary size".
LLD is added in a pretty standard way to rustc right now. A new rustbuild target
was defined for building LLD, and this is executed when a compiler's sysroot is
being assembled. LLD is compiled against the LLVM that we've got in tree, which
means we're currently on the `release_60` branch, but this may get upgraded in
the near future!
LLD is placed into rustc's sysroot in a `bin` directory. This is similar to
where `gcc.exe` can be found on Windows. This directory is automatically added
to `PATH` whenever rustc executes the linker, allowing us to define a `WasmLd`
linker which implements the interface that `wasm-ld`, LLD's frontend, expects.
Like Emscripten the LLD target is currently only enabled for Tier 1 platforms,
notably OSX/Windows/Linux, and will need to be installed manually for compiling
to wasm on other platforms. LLD is by default turned off in rustbuild, and
requires a `config.toml` option to be enabled to turn it on.
Finally the unstable `#![wasm_import_memory]` attribute was also removed as LLD
has a native option for controlling this.
[gc]: https://reviews.llvm.org/D42511
|
|
|
|
|