Skip to content

Conversation

@xinyu-zheng
Copy link

Hello Corundum team, I tried to make it compatible with current latest nightly: rustc 1.80.0-nightly (b1ec1bd65 2024-05-18)

The changes are mainly:

  • Point crndm_derive to the one in the repo (seems like it's more updated than the published one? And with the published one Corundum won't compile)
  • SyncLazy becomes LazyLock
  • Use UnsafeCell as now getting &mut from & is UB (not sure if it's the idiomatic approach though)
  • Comment out the line that implements LooseTxInUnsafe for dyn Any as now implementing auto trait for trait objects is not allowed (not sure the impact of removing the line)
  • Some atomic functions are renamed
  • Fix warnings generated by latest nightly, remove stabilized features

Please let me know if there are any issues, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant