Re: Prompt presented to Google Gemini about compiling Rust in GNU/Hurd
Jose Luis Alarcon Sanchez, le lun. 27 oct. 2025 18:30:14 +0100, a ecrit:
> El lun, 27-10-2025 a las 17:51 +0100, Samuel Thibault escribió:
> > Here, the problem is probably rather than the crate detects the hurd
> > port as both being a unixish system and a bsd system, and thus tries
> > to
> > define for both cases.
>
> That's the point of the solution the AI proposed. Adding
> 'not(target_os = "hurd")' in a couple of strategic locations would
> prevent detection as a BSD system, leaving only the 'Unixish'
> definition.
But possibly it's actually the bsd version that you want.
Samuel
Reply to: