jethrogb

Results 160 comments of jethrogb

I need to take a look at https://github.com/nhynes/backtrace-rs/tree/fix-sgx

Also see the discussion in https://internals.rust-lang.org/t/securing-cargo-publishing-credentials/14050

The issue description lists an item "Implementation for Linux and other platforms". The RFC doesn't really talk about it. Linux also doesn't support mapping undefined symbols to specific shared objects....

> Or to add a DT_NEEDED item to the dynamic section without needing the corresponding shared object on your filesystem? This would actually be useful to me, I'm now generating...

Yes that's exactly what I'm talking about in https://github.com/rust-lang/rust/issues/58713#issuecomment-703095092.

@ricobbe if you don't want to use the mangled name on the symbol import, you can use the `#[no_mangle]` or `#[link_name = "..."]` attribute on the `fn` item.

“aspires to be platform independent” :smiley: I'm happy to provide help debugging and testing, but I don't have a Windows/.Net toolchain setup.

I've needed something like this over and over again to store program-global configuration. `get`s are frequent and `set`s extremely rare. For example https://docs.rs/log4rs/0.7.0/src/log4rs/lib.rs.html#446-449 Alternatively, I think you can easily implement...

@acsearle have you considered an implementation using double-word atomics? You should be able to test with 64-bit atomics on 32-bit while we wait for https://github.com/rust-lang/rust/pull/53514 to land

From #301: > We should really implement a better version of this primitive Alternatively, this issue could become the feature request?