diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java index f605e8ff26f546..bf81f91bddf0a9 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java @@ -47,11 +47,4 @@ public FragmentOptions getHost() { host.copts = this.hostSwiftcoptList; return host; } - - @Override - public FragmentOptions getExec() { - SwiftCommandLineOptions exec = (SwiftCommandLineOptions) super.getExec(); - exec.copts = this.hostSwiftcoptList; - return exec; - } }