rust/src
Manish Goregaokar 54b6292855
Rollup merge of #104621 - YC:master, r=davidtwco
Fix --extern library finding errors

- `crate_name` is not specified/passed to `metadata_crate_location_unknown_type`
c493bae0d8/compiler/rustc_error_messages/locales/en-US/metadata.ftl (L274-L275)
- `metadata_lib_filename_form` is missing `$`
- Add additional check to ensure that library is file

Testing
1. Create file `a.rs`
```rust
extern crate t;
fn main() {}
```
1. Create empty file `x`
1. Create empty directory `y`
1. Run
```sh
$ rustc -o a a.rs --extern t=x
$ rustc -o a a.rs --extern t=y
```
Both currently panic with stable.
2022-11-22 22:54:40 -05:00
..
bootstrap Rollup merge of #104622 - nicholasbishop:bishop-uefi-clang, r=Mark-Simulacrum 2022-11-22 01:26:08 -05:00
ci Rollup merge of #104622 - nicholasbishop:bishop-uefi-clang, r=Mark-Simulacrum 2022-11-22 01:26:08 -05:00
doc Add powerpc64-ibm-aix as Tier-3 target 2022-11-17 16:36:54 +08:00
etc [debuginfo] Make debuginfo type names for slices and str consistent. 2022-10-31 15:43:44 +01:00
librustdoc Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnr 2022-11-22 22:54:38 -05:00
llvm-project@a1232c451f update LLVM submodule to make libunwind work on SGX 2022-11-06 15:33:00 +01:00
rustdoc-json-types rustdoc JSON: Clarify that Function is also used for methods 2022-11-20 13:48:49 +01:00
test Rollup merge of #104621 - YC:master, r=davidtwco 2022-11-22 22:54:40 -05:00
tools Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnr 2022-11-22 22:54:38 -05: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 to latest beta 2022-11-06 17:11:02 -05:00
version Bump to 1.67.0 2022-10-29 10:28:52 -04: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.