fast-nail-55400
01/30/2023, 8:12 PMcurved-television-6568
01/30/2023, 8:17 PMhttps://github.com/pantsbuild/pants/blob/main/src/python/pants/engine/target.py#L2635-L2637
@union(in_scope_types=[EnvironmentName])
@dataclass(frozen=True)
class InferDependenciesRequest(Generic[FS], EngineAwareParameter):
in_scope_types=[EnvironmentName]
..fast-nail-55400
01/30/2023, 8:21 PMenvironment
?go list
go_sdk
target type with an environment
fieldcurved-television-6568
01/30/2023, 8:31 PMwitty-crayon-22786
01/30/2023, 9:28 PMfast-nail-55400
01/30/2023, 10:22 PM_go_sdk
synthetic target is too naive and that it will need to be a go_sdk
per environmentwitty-crayon-22786
01/30/2023, 10:30 PM_go_sdk
target consume the environment while it is generated?fast-nail-55400
01/30/2023, 10:41 PM_go_sdk
synthetic target is a target generator and consumes the local environment (say, macOS local env) and makes certain _go_sdk_package
targets appropriate to that macOS local envwitty-crayon-22786
01/30/2023, 10:41 PMfast-nail-55400
01/30/2023, 10:41 PMwitty-crayon-22786
01/30/2023, 10:46 PMfast-nail-55400
01/30/2023, 10:57 PMgo_sdk
targetsenvironment
fieldwitty-crayon-22786
01/30/2023, 11:00 PMfast-nail-55400
01/30/2023, 11:04 PM