kyren / gc-arena

Incremental garbage collection from safe Rust
Creative Commons Zero v1.0 Universal
438 stars 36 forks source link

Add no std support #7

Closed madsmtm closed 3 years ago

madsmtm commented 3 years ago

Fixes #1.

The extra tests in gc-arena/src/context.rs for the correct implementation of the rounding behaviour might be excessive?

kyren commented 3 years ago

Yeah this all seems reasonable to me, thank you for this!

I wasn't even aware f64::round wasn't available on no_std, that's interesting (I don't do that much no_std work).