File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
- build --copt="-std=c++17"
1
+ # -fno-rtti is required by LLVM/Swift
2
+ build --repo_env=CC=clang --repo_env=CXX=clang++ --copt="-std=c++17" --copt="-fno-rtti"
2
3
3
4
try-import %workspace%/local.bazelrc
Original file line number Diff line number Diff line change 32
32
- name : Build Swift extractor
33
33
run : |
34
34
bazel run //swift:create-extractor-pack
35
- env :
36
- CC : clang
37
- CXX : clang++
38
35
- name : Run QL tests
39
36
run : |
40
37
codeql test run --threads=0 --ram 5000 --search-path "${{ github.workspace }}/swift/extractor-pack" --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition ql/test
Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ cc_binary(
14
14
"SwiftExtractorConfiguration.h" ,
15
15
"main.cpp" ,
16
16
],
17
- copts = [
18
- # Required by LLVM/Swift
19
- "-fno-rtti" ,
20
- ],
21
17
target_compatible_with = select ({
22
18
"@platforms//os:linux" : [],
23
19
"@platforms//os:macos" : [],
You can’t perform that action at this time.
0 commit comments