rust/src
bors 12307b3b08 Auto merge of #67084 - Pagten:feature/print-msg-from-elf-entrypoint, r=Amanieu
SGX: Change ELF entrypoint

This fixes [rust-sgx issue #148](https://github.com/fortanix/rust-sgx/issues/148).

A new entry point is created for the ELF file generated by `rustc`, separate from the enclave entry point. When the ELF file is executed as a Linux binary, the error message below is written to stderr.

> Error: This file is an SGX enclave which cannot be executed as a standard Linux binary.
> See the installation guide at https://edp.fortanix.com/docs/installation/guide/ on how to use 'cargo run' or follow the steps at https://edp.fortanix.com/docs/tasks/deployment/ for manual deployment.

When the ELF file is converted to an SGXS using `elf2sgxs`, the old entry point is still set as the enclave entry point. In a future pull request in the rust-sgx repository, `elf2sgxs` will be modified to remove the code in the ELF entry point, since this code is not needed in the enclave.
2019-12-14 04:08:50 +00:00
..
bootstrap Auto merge of #67077 - Aaron1011:build-llvm-in-binary, r=alexcrichton 2019-12-13 10:07:38 +00:00
build_helper
ci
doc
etc
liballoc Rollup merge of #67235 - jonas-schievink:vecdeque-leak, r=KodrAus 2019-12-13 20:35:30 +01:00
libarena
libcore Rollup merge of #67280 - shalzz:patch-1, r=jonas-schievink 2019-12-13 20:35:37 +01:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc Auto merge of #65951 - estebank:type-inference-error, r=nikomatsakis 2019-12-13 22:56:27 +00:00
librustc_apfloat
librustc_asan
librustc_codegen_llvm Fix weird implicit dependency between rustllvm and rustc_codegen_llvm 2019-12-12 10:51:19 -05:00
librustc_codegen_ssa
librustc_codegen_utils
librustc_data_structures Avoid re-processing nodes in find_cycles_from_node. 2019-12-13 08:36:25 +11:00
librustc_driver
librustc_error_codes
librustc_errors
librustc_feature
librustc_fs_util
librustc_incremental
librustc_index
librustc_interface
librustc_lexer
librustc_lint Rollup merge of #66983 - weiznich:bugfix/issue_66295, r=estebank 2019-12-12 10:09:19 +09:00
librustc_llvm Fix weird implicit dependency between rustllvm and rustc_codegen_llvm 2019-12-12 10:51:19 -05:00
librustc_lsan
librustc_macros
librustc_metadata
librustc_mir Rollup merge of #67256 - RalfJung:reduce-allocs, r=oli-obk 2019-12-13 20:35:33 +01:00
librustc_msan
librustc_parse parser: recover on &'lifetime mut $pat. 2019-12-13 02:36:25 +01:00
librustc_passes
librustc_plugin_impl
librustc_privacy
librustc_resolve
librustc_save_analysis
librustc_session Rollup merge of #67215 - nnethercote:fix-Zprint-type-size-zero-sized-fields, r=pnkfelix 2019-12-12 10:09:21 +09:00
librustc_target Auto merge of #67084 - Pagten:feature/print-msg-from-elf-entrypoint, r=Amanieu 2019-12-14 04:08:50 +00:00
librustc_traits
librustc_tsan
librustc_typeck Auto merge of #65951 - estebank:type-inference-error, r=nikomatsakis 2019-12-13 22:56:27 +00:00
librustdoc replace serialize with serde in rustdoc 2019-12-12 16:33:25 -05:00
libserialize
libstd Auto merge of #67084 - Pagten:feature/print-msg-from-elf-entrypoint, r=Amanieu 2019-12-14 04:08:50 +00:00
libsyntax
libsyntax_expand Remove the DelimSpan from NamedMatch::MatchedSeq. 2019-12-12 17:36:03 +11:00
libsyntax_ext
libsyntax_pos
libterm
libtest
libunwind
llvm-project@2cb41005ed
rtstartup
rustc
rustllvm
stdarch@e0ab2c165a
test Auto merge of #65951 - estebank:type-inference-error, r=nikomatsakis 2019-12-13 22:56:27 +00:00
tools
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 guide.