Manishearth / rust-gc

Simple tracing (mark and sweep) garbage collector for Rust
Mozilla Public License 2.0
972 stars 50 forks source link

expose `simple_empty_finalize_trace` #164

Open smasher164 opened 1 year ago

smasher164 commented 1 year ago

For most of my types that are either simple Copyable types or something I've intentionally implemented Drop on, I end up resorting to unsafe_empty_trace and #derive[(Finalize)]. I noticed this internal macro and adopted it for myself out of convenience. What is the opinion on exporting it publicly?