colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.28k stars 82 forks source link

Make it work in no_std environment #204

Closed andy128k closed 3 years ago

andy128k commented 3 years ago

Closes #201

TedDriggs commented 3 years ago

What happens in environments where allocations are impossible? Would this compile and then fail if someone tried to construct that variant?

andy128k commented 3 years ago

It will not compile. The same as it is in 0.9.0.