<div dir="auto">Rust uses cfg attributes for most such things.<div dir="auto"><br></div><div dir="auto"><a href="https://doc.rust-lang.org/rust-by-example/attribute/cfg.html">https://doc.rust-lang.org/rust-by-example/attribute/cfg.html</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 20, 2021, 21:12 Hal Murray via devel <<a href="mailto:devel@ntpsec.org">devel@ntpsec.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
How do Rust and/or Go handle the cruft that C coders use #ifdefs for?<br>
<br>
Does that just get pushed down to a C library?<br>
<br>
<br>
-- <br>
These are my opinions. I hate spam.<br>
<br>
<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@ntpsec.org" target="_blank" rel="noreferrer">devel@ntpsec.org</a><br>
<a href="http://lists.ntpsec.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.ntpsec.org/mailman/listinfo/devel</a><br>
</blockquote></div>