forked from Mirror/pmbootstrap
pmb.build: Properly type cross-compilation types (MR 2337)
This commit is contained in:
parent
d6d088b68b
commit
ca6d0eba28
3 changed files with 11 additions and 7 deletions
|
@ -3,10 +3,11 @@
|
|||
|
||||
from argparse import Namespace
|
||||
from pathlib import Path
|
||||
from typing import Optional, TypedDict, Union
|
||||
from typing import Literal, Optional, TypedDict, Union
|
||||
|
||||
from pmb.core.arch import Arch
|
||||
|
||||
CrossCompileType = Optional[Union[Literal["native"], Literal["crossdirect"]]]
|
||||
PathString = Union[Path, str]
|
||||
Env = dict[str, PathString]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue