rust/compiler
Josh Triplett a3944a0abd Support static linking with glibc and target-feature=+crt-static
With this change, it's possible to build on a linux-gnu target and pass
RUSTFLAGS='-C target-feature=+crt-static' or the equivalent via a
`.cargo/config.toml` file, and get a statically linked executable.

This requires libc 0.2.79, which adds support for static linking with
glibc.

Add `crt_static_respected` to the `linux_base` target spec.

Update `android_base` and `linux_musl_base` accordingly. Avoid enabling
crt_static_respected on Android platforms, since that hasn't been
tested.
2020-10-04 22:12:08 -07:00
..
rustc
rustc_apfloat Backport another LLVM commit to rustc_apfloat 2020-10-04 02:02:25 +02:00
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr Remove rustc_allow_const_fn_ptr 2020-09-27 10:46:41 -07:00
rustc_builtin_macros expand: Stop un-interpolating NtIdents before passing them to built-in macros 2020-09-28 23:10:44 +03:00
rustc_codegen_llvm Rollup merge of #77521 - bjorn3:target_feature_whitelist, r=lcnr 2020-10-04 15:45:48 +02:00
rustc_codegen_ssa Rollup merge of #77521 - bjorn3:target_feature_whitelist, r=lcnr 2020-10-04 15:45:48 +02:00
rustc_data_structures Stable hashing: add comments and tests concerning platform-independence 2020-09-30 00:57:35 -07:00
rustc_driver Rollup merge of #75143 - oli-obk:tracing, r=RalfJung 2020-10-04 11:44:49 +09:00
rustc_error_codes Create E0777 error code for "invalid literal in derive" 2020-10-01 20:41:57 +02:00
rustc_errors
rustc_expand Improve E0777 help message 2020-10-02 16:33:44 +02:00
rustc_feature Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank 2020-10-05 02:29:36 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Revert "Add an unused field of type Option<DefId> to ParamEnv struct." 2020-09-26 21:01:09 -07:00
rustc_interface Add -Zprecise-enum-drop-elaboration 2020-10-01 11:31:43 -07:00
rustc_lexer
rustc_lint Uplift drop-bounds lint from clippy 2020-10-01 12:06:33 -07:00
rustc_llvm Update LLVM and add Unsupported diagnostic 2020-09-30 14:57:37 +01:00
rustc_macros
rustc_metadata rustc_metadata: Do not forget to encode inherent impls for foreign types 2020-09-30 22:58:35 +03:00
rustc_middle Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
rustc_mir Auto merge of #77557 - Dylan-DPC:rollup-aib9ptp, r=Dylan-DPC 2020-10-05 02:49:51 +00:00
rustc_mir_build Auto merge of #77466 - Aaron1011:reland-drop-tree, r=matthewjasper 2020-10-05 00:35:58 +00:00
rustc_parse Rollup merge of #77444 - estebank:pat-field-label, r=davidtwco 2020-10-02 20:27:16 +02:00
rustc_parse_format
rustc_passes Rollup merge of #76329 - GuillaumeGomez:doc-alias-crate-level, r=matthewjasper 2020-10-05 02:29:27 +02:00
rustc_plugin_impl
rustc_privacy
rustc_query_system
rustc_resolve Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank 2020-10-05 02:29:36 +02:00
rustc_save_analysis
rustc_serialize
rustc_session Enforce crate level attributes checks 2020-10-04 13:36:47 +02:00
rustc_span Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
rustc_symbol_mangling Permit ty::Bool in const generics for v0 mangling 2020-10-02 09:45:48 -04:00
rustc_target Support static linking with glibc and target-feature=+crt-static 2020-10-04 22:12:08 -07:00
rustc_trait_selection Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00
rustc_traits Update chalk to 0.29.0 2020-09-27 15:54:07 +02:00
rustc_ty
rustc_typeck Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00