ABI select: GNU vs MASM

Hi!

I'm trying to utilize pieces of ASM code, built as static libs. The problem is with Windows, where there are two pieces of ASM, one being built via GNU ASM and the other with MASM.

The question is, how can I distinguish current Rust target being MS or GNU to select one of prebuilt binaries?

Thanks

#[cfg(target_env = "msvc")]
#[cfg(target_env = "gnu")]

1 Like

Thanks! Seems target_env isn't on docs.