Compare commits
1 Commits
main
...
bazel-tsan
Author | SHA1 | Date |
---|---|---|
![]() |
d82a79f29f |
|
@ -0,0 +1 @@
|
|||
6.0.0-pre.20220630.1
|
|
@ -218,12 +218,15 @@ public struct CollectedLinter {
|
|||
let superfluousDisableCommandRule = rules.first(where: {
|
||||
$0 is SuperfluousDisableCommandRule
|
||||
}) as? SuperfluousDisableCommandRule
|
||||
let validationResults = rules.parallelCompactMap {
|
||||
$0.lint(file: self.file, regions: regions, benchmark: benchmark,
|
||||
storage: storage,
|
||||
configuration: self.configuration,
|
||||
superfluousDisableCommandRule: superfluousDisableCommandRule,
|
||||
compilerArguments: self.compilerArguments)
|
||||
var arr = [0, 1, 2]
|
||||
let validationResults = rules.parallelCompactMap { asdf -> LintResult? in
|
||||
_ = arr[0]
|
||||
arr[0] = .random(in: 0...100)
|
||||
return asdf.lint(file: self.file, regions: regions, benchmark: benchmark,
|
||||
storage: storage,
|
||||
configuration: self.configuration,
|
||||
superfluousDisableCommandRule: superfluousDisableCommandRule,
|
||||
compilerArguments: self.compilerArguments)
|
||||
}
|
||||
let undefinedSuperfluousCommandViolations = self.undefinedSuperfluousCommandViolations(
|
||||
regions: regions, configuration: configuration,
|
||||
|
|
|
@ -4,8 +4,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|||
|
||||
http_archive(
|
||||
name = "build_bazel_rules_apple",
|
||||
sha256 = "36072d4f3614d309d6a703da0dfe48684ec4c65a89611aeb9590b45af7a3e592",
|
||||
url = "https://github.com/bazelbuild/rules_apple/releases/download/1.0.1/rules_apple.1.0.1.tar.gz",
|
||||
sha256 = "5934e3315eab07ab8bf7068bb715b0be02001be644615978cbc8997572197da2",
|
||||
strip_prefix = "rules_apple-c655f5249ea161c1ae6c3892666c33bfcc080c65",
|
||||
url = "https://github.com/bazelbuild/rules_apple/archive/c655f5249ea161c1ae6c3892666c33bfcc080c65.tar.gz",
|
||||
)
|
||||
|
||||
load(
|
||||
|
|
Loading…
Reference in New Issue