rust/src
bors f383703e32 Auto merge of #111698 - Amanieu:force-static-lib, r=petrochenkov
Force all native libraries to be statically linked when linking a static binary

Previously, `#[link]` without an explicit `kind = "static"` would confuse the linker and end up producing a dynamically linked library because of the `-Bdynamic` flag. However this binary would not work correctly anyways since it was linked with startup code for a static binary.

This PR solves this by forcing all native libraries to be statically linked when the output is a static binary that cannot link to dynamic libraries anyways.

Fixes #108878
Fixes #102993
2023-06-07 22:02:24 +00:00
..
bootstrap download-rustc: Fix x test core on MacOS 2023-06-07 06:16:30 -05:00
ci Auto merge of #111495 - Kobzol:dist-tests, r=Mark-Simulacrum 2023-06-07 00:14:06 +00:00
doc Auto merge of #111698 - Amanieu:force-static-lib, r=petrochenkov 2023-06-07 22:02:24 +00:00
etc Rollup merge of #111962 - theIDinside:better-gdb, r=Mark-Simulacrum 2023-06-06 12:00:32 +02:00
librustdoc Rollup merge of #112251 - notriddle:notriddle/cleanup-inlining, r=GuillaumeGomez 2023-06-07 18:01:29 +05:30
llvm-project@22897bce7b Update to LLVM 16.0.5 2023-06-05 14:19:09 +02:00
rustdoc-json-types Verify that ItemEnum can be serialized and then deserialized using bincode 2023-05-22 18:26:20 +01:00
tools Make TraitEngine::new use the right solver, add compare mode 2023-06-06 18:43:20 +00:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Bump to latest beta compiler 2023-05-30 08:00:10 -04:00
version Bump to 1.72.0 2023-05-27 14:23:37 -04:00

This directory contains some source code for the Rust project, including:

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

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