TheDan64 / inkwell

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

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

Closed DaniPopes closed 5 months ago

DaniPopes commented 5 months 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 5 months ago

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