diff --git a/prelude/apple/swift/swift_compilation.bzl b/prelude/apple/swift/swift_compilation.bzl index 354bc9a3e845..ed455e0b971d 100644 --- a/prelude/apple/swift/swift_compilation.bzl +++ b/prelude/apple/swift/swift_compilation.bzl @@ -821,7 +821,7 @@ def _get_shared_flags( # Swift compiler defaults to 5 and therefore so do we # use the version 5 for upcoming features passed to tools # like the ide-tool for swift-interface generation below - # https://www.internalfb.com/code/osmeta-external-swift/[toolchain%2Fpika%2F16%3A5e394d813955f6d922cc853d011eeb3b6bead4c6]/include/swift/Basic/LangOptions.h?lines=175-176 + # include/swift/Basic/LangOptions.h?lines=175-176 swift_version = SwiftVersion[0] # "5" if ctx.attrs.enable_cxx_interop: diff --git a/prelude/ide_integrations/xcode/argsfiles.bzl b/prelude/ide_integrations/xcode/argsfiles.bzl index b056a0b2ba5d..7a4836770a91 100644 --- a/prelude/ide_integrations/xcode/argsfiles.bzl +++ b/prelude/ide_integrations/xcode/argsfiles.bzl @@ -5,12 +5,16 @@ # License, Version 2.0 found in the LICENSE-APACHE file in the root directory # of this source tree. +# @oss-disable: load("@prelude//apple/meta_only:xcode_argsfiles.bzl", "get_meta_specific_xcode_arg_substitutions") + +def _get_meta_specific_xcode_arg_substitutions(): + # @oss-disable: return get_meta_specific_xcode_arg_substitutions() + return [] # @oss-enable + XCODE_ARGSFILES_SUB_TARGET = "xcode-argsfiles" XCODE_ARG_SUBSTITUTIONS = [ (regex("-filter-error=.+"), "-fcolor-diagnostics"), (regex("-filter-ignore=.+"), "-fcolor-diagnostics"), (regex("-filter-warning=.+"), "-fcolor-diagnostics"), - # @oss-disable: (regex("-fobjc-export-direct-methods"), "-fcolor-diagnostics"), - # @oss-disable: (regex("-fpika-runtime-checks"), "-fcolor-diagnostics"), -] +] + _get_meta_specific_xcode_arg_substitutions()