abundant-judge-90235
02/13/2025, 10:07 PMlocal_environment(compatible_platforms=["linux_x86_64"])
, what is pants checking to determine if the current platform is linux_x86_64 v. macos_x86_64 v. linux_arm64 etc? I would suspect it's checking output of uname -a
or /etc/os-release
or something similar.happy-kitchen-89482
02/14/2025, 1:08 AMPlatform.create_for_localhost()
, which eventually uses os.uname().{machine,sysname}
happy-kitchen-89482
02/14/2025, 1:09 AM