Re: #ifdef cruft in Go/Rust

2021-06-20 Thread Daniel Franke via devel
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 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? > > >

#ifdef cruft in Go/Rust

2021-06-20 Thread Hal Murray via devel
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