Commit b49b7a7
Disable Native scaladoc to avoid 3.8.3 doc race condition
Scala 3.8.3's scaladoc renderer has a race in
dotty.tools.scaladoc.renderers.Resources.allResources that
crashes when multiple `doc` tasks run concurrently. It bit
`riddlLibNative` and `passesNative` during `sbt clean test
publish` for both 1.23.2 and 1.23.3, leaving partial Maven
artifacts on GitHub Packages. Each individual `doc` task
succeeds when invoked alone, confirming concurrency as the
trigger.
Set `Compile / doc / sources := Seq.empty` for the Native
variants of `passes` and `riddlLib` so the doc task produces
no output. The empty javadoc.jar still publishes for shape
compatibility. Native consumers very rarely consult the docs
jar; JVM and JS scaladoc are unaffected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8f12378 commit b49b7a7
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| |||
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
| 333 | + | |
| 334 | + | |
328 | 335 | | |
329 | 336 | | |
330 | 337 | | |
| |||
0 commit comments