For SGX, the relocation using the relocation table is done by the code in rust/src/libstd/sys/sgx/abi/reloc.rs and this code should not require relocation. Setting RelaxELFRelocations flag if allows this to happen, hence adding a Target Option for it. |
||
|---|---|---|
| .. | ||
| abi | ||
| spec | ||
| build.rs | ||
| Cargo.toml | ||
| lib.rs | ||
| README.md | ||
librustc_target contains some very low-level details that are
specific to different compilation targets and so forth.
For more information about how rustc works, see the rustc guide.