File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11load ("@rules_pkg//pkg:mappings.bzl" , "pkg_filegroup" )
2+ load ("//misc/bazel:os.bzl" , "codeql_platform_select" )
23load ("//misc/bazel:pkg.bzl" , "codeql_pack" , "codeql_pkg_files" )
3- load ("//misc/bazel:utils.bzl" , "select_os" )
44
55package (default_visibility = ["//visibility:public" ])
66
@@ -41,12 +41,14 @@ codeql_pkg_files(
4141
4242codeql_pkg_files (
4343 name = "extractor-arch" ,
44- exes = select_os (
45- posix = ["//unified/extractor" ],
46- windows = ["//unified/extractor-unsupported-os:extractor" ],
47- ) + select_os (
48- linux = ["//unified/swift-syntax-rs:swift_runtime_libs" ],
49- otherwise = [],
44+ exes = codeql_platform_select (
45+ linux64 = [
46+ "//unified/extractor" ,
47+ "//unified/swift-syntax-rs:swift_runtime_libs" ,
48+ ],
49+ linux_arm64 = ["//unified/extractor-unsupported-os:extractor" ],
50+ osx64 = ["//unified/extractor" ],
51+ win64 = ["//unified/extractor-unsupported-os:extractor" ],
5052 ),
5153 prefix = "tools/{CODEQL_PLATFORM}" ,
5254)
Original file line number Diff line number Diff line change 11fn main ( ) {
2- eprintln ! ( "Unsupported OS. Extraction is not currently supported on Windows ." ) ;
2+ eprintln ! ( "Unsupported OS. Extraction is not currently supported on this platform ." ) ;
33 std:: process:: exit ( 1 ) ;
44}
You can’t perform that action at this time.
0 commit comments