You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most recent bindgen update, 0.61.0, added the capability to support
global enumerations. Global enumerations are `const`s in the global
namespace instead of in an `impl` of the type. To maintain backwards
compatiblity and to scope enums consistently the non global version was
chosen.
non global
```rust
impl sgx_status_t {
pub const SGX_SUCCESS: sgx_status_t = sgx_status_t(0);
}
```
global
```rust
pub const SGX_SUCCESS: sgx_status_t = sgx_status_t(0);
```
0 commit comments