// TODO(/): we need to provide the libstdc++.so.6.dylib which comes with gcc on osx in the
// DYLD_LIBRARY_PATH during the "run" goal somehow.
attempt_pants_run = Platform.create().resolve_for_enum_variant({
"darwin": toolchain_variant.resolve_for_enum_variant({
"gnu": False,
"llvm": True,
}),
"linux": True,
})
if attempt_pants_run:
pants_run_interop = self.run_pants(["-q", "run", self._binary_target_with_interop], config={
"native-build-step": {
"toolchain_variant": toolchain_variant.value,
},
"native-build-settings": {
"strict_deps": True,
After Change
// TODO(/): we need to provide the libstdc++.so.6.dylib which comes with gcc on osx in the
// DYLD_LIBRARY_PATH during the "run" goal somehow.
attempt_pants_run = Platform.current.resolve_for_enum_variant({
"darwin": toolchain_variant == ToolchainVariant.llvm,
"linux": True,
})
if attempt_pants_run:
pants_run_interop = self.run_pants(["-q", "run", self._binary_target_with_interop], config={
"native-build-step": {
"toolchain_variant": toolchain_variant.underlying(),
},
"native-build-settings": {
"strict_deps": True,