I am building from master running
./swift/utils/build-script -R -T -B.
I have following error. Actually a warning which is treated as error.
Warning, treated as error: /Users/***/Apple/swift/docs/SIL.rst:1743:Unknown target name: "begin_borrow". [290/1654][ 17%][66.436s] Building CXX object lib/AST/CMakeFiles/swiftAST.dir/ASTContext.cpp.o ninja: build stopped: subcommand failed. ERROR: command terminated with a non-zero exit status 1, aborting
I did run
./swift/utils/update-checkout --clone-with-ssh before so all branches of all repos are fresh.
I did try run build-script with --restructure, did try removing build folder completely.
Still having same error.
- how to get rid of this error?
- is there any way not to treat warnings as errors?
- error seems to be connected to building documentation. Any way to tell build script skip this?
Thanks for helping.