TheDan64 / inkwell

It's a New Kind of Wrapper for Exposing LLVM (Safely)
https://thedan64.github.io/inkwell/
Apache License 2.0
2.22k stars 217 forks source link

Replace `cfg(not?(any` with `llvm_versions` #502

Closed DaniPopes closed 1 month ago

DaniPopes commented 1 month ago

Description

Replace all #[cfg(not?(any(feature = "llvm...", ...))] with llvm_versions.

This was done automatically with the following script: https://gist.github.com/DaniPopes/e7e9d7542dc3c512bcebdff59ea9ccaf

and formatted afterwards with cargo fmt.

Follow-up to https://github.com/TheDan64/inkwell/pull/493

Related Issue

N/A

How This Has Been Tested

CI

Checklist

DaniPopes commented 1 month ago

Ah nevermind, forgot custom attributes cannot be applied almost anywhere (: