diff options
| author | kennytm <kennytm@gmail.com> | 2019-03-16 14:56:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-16 14:56:23 +0800 |
| commit | 152ed3717b3387f9b79fbd6917bd3ce3b994a9a1 (patch) | |
| tree | ac1ce25b3523b8c53d60910ec37f523bdbca6a0b /src/test/incremental/thinlto | |
| parent | 9859b818c88ceae3c4c3620b06e27d07d84576f8 (diff) | |
| parent | 67eabc6bec67e1953cb944f0654fada3151b7e21 (diff) | |
| download | rust-152ed3717b3387f9b79fbd6917bd3ce3b994a9a1.tar.gz rust-152ed3717b3387f9b79fbd6917bd3ce3b994a9a1.zip | |
Rollup merge of #58949 - jethrogb:jb/sgx-thread-id, r=joshtriplett
SGX target: Expose thread id function in os module In order to call `std::os::fortanix_sgx::usercalls::send`, you need the thread id. This exposes it through another function in `std::os::fortanix_sgx`. I looked at how other platforms do this. On Windows and `cfg(unix)` you can get the OS handle from a `thread::JoinHandle`, but that's not sufficient, I need it for a `thread::Thread`. In the future, this functionality could be added to `thread::Thread` and this platform can follow suit. r? @joshtriplett
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
