rust/src
bors 47b2eee173 Auto merge of #102424 - sunfishcode:sunfishcode/hidden-main, r=nagisa
Declare `main` as visibility hidden on targets that default to hidden.

On targets with `default_hidden_visibility` set, which is currrently just WebAssembly, declare the generated `main` function with visibility hidden. This makes it consistent with clang's WebAssembly target, where `main` is just a user function that gets the same visibility as any other user function, which is hidden on WebAssembly unless explicitly overridden.

This will help simplify use cases which in the future may want to automatically wasm-export all visibility-"default" symbols. `main` isn't intended to be wasm-exported, and marking it hidden prevents it from being wasm-exported in that scenario.
2022-10-02 04:12:09 +00:00
..
bootstrap Auto merge of #102558 - matthiaskrgr:rollup-0odec1c, r=matthiaskrgr 2022-10-02 01:29:36 +00:00
ci Auto merge of #101833 - jyn514:cross-compile-compiler-builtins, r=Mark-Simulacrum 2022-09-29 02:28:50 +00:00
doc Rollup merge of #101997 - cuviper:drop-legacy-pm, r=nikic 2022-09-25 22:06:38 +08:00
etc Add a niche to Duration, unix SystemTime, and non-apple Instant 2022-09-28 18:15:10 +01:00
librustdoc Rollup merge of #102525 - notriddle:notriddle/array-link, r=GuillaumeGomez,jsha 2022-10-02 03:16:39 +02:00
llvm-project@9567f08afc Update LLVM submodule 2022-09-30 16:39:32 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Auto merge of #102424 - sunfishcode:sunfishcode/hidden-main, r=nagisa 2022-10-02 04:12:09 +00:00
tools Auto merge of #102193 - ferrocene:pa-remote-test-server-improvements, r=Mark-Simulacrum 2022-10-01 22:39:59 +00:00
README.md Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00
stage0.json bump stage0 2022-09-26 10:13:46 +02:00
version bump version to 1.66.0 2022-09-16 10:51:09 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like cargo, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.