Rust uses cfg attributes for most such things. https://doc.rust-lang.org/rust-by-example/attribute/cfg.html
On Sun, Jun 20, 2021, 21:12 Hal Murray via devel <devel@ntpsec.org> wrote: > > How do Rust and/or Go handle the cruft that C coders use #ifdefs for? > > Does that just get pushed down to a C library? > > > -- > These are my opinions. I hate spam. > > > > _______________________________________________ > devel mailing list > devel@ntpsec.org > http://lists.ntpsec.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel