#ifdef cruft in Go/Rust
Daniel Franke
dfoxfranke at gmail.com
Mon Jun 21 01:16:58 UTC 2021
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 at 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 at ntpsec.org
> http://lists.ntpsec.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20210620/fc12b6ca/attachment-0001.htm>
More information about the devel
mailing list