rust/src
Dylan DPC 5ecc18f3ec
Rollup merge of #70937 - mati865:mingw-staticlib-suffix, r=petrochenkov
Fix staticlib name for *-pc-windows-gnu targets

Fix https://github.com/rust-lang/rust/issues/69904

Guess this will need FCP but opened PR anyway to bring the attention.

In short Rust has been using wrong `foo.lib` format for static libraries when building for `*-pc-windows-gnu` since version [1.8.0](34b4e66736).
[LD](f4a220077b/ld/emultempl/pe.em (L2224-L2227)) and [LLD](0605f5fbe7/lld/MinGW/Driver.cpp (L140-L141)) agree in that regard and only accept static libraries with `libfoo.a` format. So the only thing to break here is when somebody added a hack to rename created library to proper format (like [here](ad86ab8580 (d5b4de16d947214ec306bd57bed1bd23a939b5f9_197_194))).
2020-04-11 17:52:10 +02:00
..
bootstrap Rollup merge of #70881 - eddyb:stage0-hide-incremental-unused-attrs, r=Mark-Simulacrum 2020-04-11 01:52:24 +02:00
build_helper
ci Auto merge of #66605 - GuillaumeGomez:drop-python2, r=Mark-Simulacrum 2020-04-10 16:13:20 +00:00
doc Fix JSON file_name documentation for macros. 2020-04-09 18:54:53 -07:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Rollup merge of #70981 - ssomers:btreemap_into_into_iter, r=Mark-Simulacrum 2020-04-10 18:15:24 +02:00
libarena
libcore Rollup merge of #70896 - cuviper:optional-chain, r=scottmcm 2020-04-09 05:29:43 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast
librustc_ast_lowering librustc_hir: return LocalDefId instead of DefId in local_def_id 2020-04-08 00:43:56 +01:00
librustc_ast_passes
librustc_ast_pretty
librustc_attr
librustc_builtin_macros
librustc_codegen_llvm fix abuses of tykind::err 2020-04-07 22:47:25 -05:00
librustc_codegen_ssa Rollup merge of #70644 - nnethercote:clean-up-ModuleConfig-init, r=Mark-Simulacrum 2020-04-11 17:52:08 +02:00
librustc_data_structures Use tri-color search for unconditional recursion lint 2020-04-09 21:07:48 -07:00
librustc_driver
librustc_error_codes Rollup merge of #70985 - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC 2020-04-10 18:15:26 +02:00
librustc_errors Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_expand
librustc_feature
librustc_fs_util
librustc_hir Rollup merge of #70913 - eddyb:rc-arc-diagnostic-items, r=matthewjasper 2020-04-10 12:48:45 +02:00
librustc_hir_pretty
librustc_incremental
librustc_index Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_infer Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_interface librustc_middle: return LocalDefId instead of DefId in body_owner_def_id 2020-04-10 12:13:54 +01:00
librustc_lexer
librustc_lint librustc_middle: return LocalDefId instead of DefId in body_owner_def_id 2020-04-10 12:13:54 +01:00
librustc_llvm
librustc_macros
librustc_metadata Speed up path searching with find_library_crate. 2020-04-07 09:21:15 +10:00
librustc_middle Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_mir Auto merge of #71014 - Centril:rollup-3lc8cnt, r=Centril 2020-04-11 12:22:00 +00:00
librustc_mir_build Use tri-color search for unconditional recursion lint 2020-04-09 21:07:48 -07:00
librustc_parse
librustc_passes librustc_middle: return LocalDefId instead of DefId in get_parent_did 2020-04-10 12:13:54 +01:00
librustc_plugin_impl
librustc_privacy librustc_middle: return LocalDefId instead of DefId in get_parent_did 2020-04-10 12:13:54 +01:00
librustc_query_system
librustc_resolve Auto merge of #70909 - marmeladema:issue70853/librustc_hir-local-def-id, r=eddyb 2020-04-09 23:22:23 +00:00
librustc_save_analysis librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id 2020-04-10 12:13:54 +01:00
librustc_session mark a temporary hack as such 2020-04-09 23:02:13 +02:00
librustc_span Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_symbol_mangling
librustc_target Fix staticlib name for *-pc-windows-gnu targets 2020-04-09 00:33:05 +02:00
librustc_trait_selection Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_traits
librustc_ty
librustc_typeck Auto merge of #71014 - Centril:rollup-3lc8cnt, r=Centril 2020-04-11 12:22:00 +00:00
librustdoc librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id 2020-04-10 12:13:54 +01:00
libserialize Use assoc integer constants in libserialize 2020-04-07 00:43:15 +02:00
libstd Rollup merge of #67705 - lzutao:wmemchr, r=wesleywiser 2020-04-09 05:29:36 +02:00
libterm
libtest Stop importing float module in libtest 2020-04-06 22:45:44 +02:00
libunwind
llvm-project@027e428197
rtstartup
rustc
rustllvm
stdarch@1a577bd78e
test Rollup merge of #70937 - mati865:mingw-staticlib-suffix, r=petrochenkov 2020-04-11 17:52:10 +02:00
tools Auto merge of #70994 - Centril:rollup-lftv0a3, r=Centril 2020-04-10 19:28:38 +00:00
README.md
stage0.txt

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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