fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
429 stars 98 forks source link

Allow specifying number of worker threads used to run an enclave #625

Open s-arash opened 1 month ago

s-arash commented 1 month ago

This change allows users of this library to specify the number of worker threads. This lets users limit the number of cores used by an enclave.

This is a backwards-compatible change.

aditijannu commented 1 month ago

I had been working the CI fixes here which you will face in your CI job too - https://github.com/fortanix/rust-sgx/pull/624 It is not complete yet and I need to fix one of the nitro crates used in rust-sgx.

s-arash commented 1 month ago

I had been working the CI fixes here which you will face in your CI job too - #624 It is not complete yet and I need to fix one of the nitro crates used in rust-sgx.

Thanks @aditijannu. I'll rebase this PR once your PR lands.