sunfishcode / c-ward

An implementation of libc written in Rust
Other
188 stars 11 forks source link

Don't define `exit`, `atexit`, etc. in coexist-with-libc mode. #40

Closed sunfishcode closed 11 months ago

sunfishcode commented 11 months ago

When usingi libc, origin::program::at_exit is implemented in terms of libc::atexit, so don't have c-scape define atexit when in coexist-with-libc mode.