rust/src
bors 9a576175cc Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov
Partial support for raw-dylib linkage

First cut of functionality for issue #58713: add support for `#[link(kind = "raw-dylib")]` on `extern` blocks in lib crates compiled to .rlib files.  Does not yet support `#[link_name]` attributes on functions, or the `#[link_ordinal]` attribute, or `#[link(kind = "raw-dylib")]` on `extern` blocks in bin crates; I intend to publish subsequent PRs to fill those gaps.  It's also not yet clear whether this works for functions in `extern "stdcall"` blocks; I also intend to investigate that shortly and make any necessary changes as a follow-on PR.

This implementation calls out to an LLVM function to construct the actual `.idata` sections as temporary `.lib` files on disk and then links those into the generated .rlib.
2021-06-06 03:59:17 +00:00
..
bootstrap Auto merge of #79608 - alessandrod:bpf, r=nagisa 2021-06-06 01:02:32 +00:00
build_helper Revert "Move llvm submodule updates to rustbuild" 2021-05-24 17:52:18 -04:00
ci Auto merge of #85395 - 12101111:build-crt, r=petrochenkov 2021-05-31 07:32:50 +00:00
doc Auto merge of #79608 - alessandrod:bpf, r=nagisa 2021-06-06 01:02:32 +00:00
etc rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
librustdoc Rollup merge of #85503 - liigo:tooltips, r=GuillaumeGomez 2021-06-05 19:41:41 +02:00
llvm-project@39c5555872 Update LLVM submodule 2021-05-23 18:05:11 +10:00
rustdoc-json-types rustdoc-json: Rename Import.span to Import.source 2021-03-21 19:47:12 -07:00
test Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov 2021-06-06 03:59:17 +00:00
tools Auto merge of #79608 - alessandrod:bpf, r=nagisa 2021-06-06 01:02:32 +00:00
README.md
stage0.txt remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
version bump version to 1.54.0 2021-04-30 15:24:00 +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 rustdoc, rls, etc.

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