Closed bryanlarsen closed 9 months ago
If I add #[cfg(target_os = "linux")] to the "bar" member on my struct Foo I get the error no field 'bar' on type 'OptionalFoo' when compiling on MacOS.
#[cfg(target_os = "linux")]
no field 'bar' on type 'OptionalFoo'
Better late than never :')
If I add
#[cfg(target_os = "linux")]
to the "bar" member on my struct Foo I get the errorno field 'bar' on type 'OptionalFoo'
when compiling on MacOS.