diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-14 07:11:02 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-07-03 14:11:31 -0400 |
commit | 46148f923b196e1b1d004e68d43edc2daca4dd25 (patch) | |
tree | 60003ed1f149bbc61a2d5fd8226268f17868c052 /mesonbuild/compilers/cuda.py | |
parent | 075ccc68bec1f3eb74e2089950b48627811354ac (diff) | |
download | meson-46148f923b196e1b1d004e68d43edc2daca4dd25.zip meson-46148f923b196e1b1d004e68d43edc2daca4dd25.tar.gz meson-46148f923b196e1b1d004e68d43edc2daca4dd25.tar.bz2 |
fix totally invalid import of an import
MachineChoice is a mesonlib object, not a compilers object, so it makes
no sense to import it from the latter simply because the latter imports
it too. This results in brittle module dependencies and everything
breaking when a refactor removes it from the latter.
... also it is a typing-only import so while we are fixing it to import
from the right place, we can also put it in a type-checking block.
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
0 files changed, 0 insertions, 0 deletions