diff options
| author | bors <bors@rust-lang.org> | 2019-12-14 04:08:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-14 04:08:50 +0000 |
| commit | 12307b3b08edee543a78fb9d4a837fbd6d6ac0fa (patch) | |
| tree | a74a47622664cabf385b854f0f33052df341b41e /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 8843b28e64b02c2245f5869ad90cafa6d85ab0d9 (diff) | |
| parent | f02ffb8b4ca760117875f3b5326e9cff6598dde3 (diff) | |
| download | rust-12307b3b08edee543a78fb9d4a837fbd6d6ac0fa.tar.gz rust-12307b3b08edee543a78fb9d4a837fbd6d6ac0fa.zip | |
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
