But the workaround (-swiftcopt=-wmo --swiftcopt=-num-threads --swiftcopt=0) described in the comment no longer works when I use rule_swift 2.x.
Here is a repo for reproducing this issue:
git@github.com:xuzhaocheng/chatgpt_demo.git
cd chatgpt_demo
git checkout new
cd ChatGPTDemoiOS
bazel build //:ChatGPTDemoApp --swiftcopt=-wmo --swiftcopt=-num-threads --swiftcopt=0
I saw there was an existing issue about
apple_core_data_model
at https://github.com/bazelbuild/rules_swift/issues/1160.But the workaround (
-swiftcopt=-wmo --swiftcopt=-num-threads --swiftcopt=0
) described in the comment no longer works when I userule_swift
2.x.Here is a repo for reproducing this issue: