pmb.types: Simplify CrossCompileType definition (MR 2464)

This is equivalent to the previous definition, but more concise.
This commit is contained in:
Newbyte 2024-10-29 16:16:42 +01:00
parent 6b55ce7b53
commit c1527ba95d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -7,7 +7,7 @@ from typing import Literal, TypedDict
from pmb.core.arch import Arch from pmb.core.arch import Arch
CrossCompileType = Literal["native"] | Literal["crossdirect"] | None CrossCompileType = Literal["native", "crossdirect"] | None
PathString = Path | str PathString = Path | str
Env = dict[str, PathString] Env = dict[str, PathString]