Files
scriptc/scripts
Chris Tate c4105d23a7 Stop building and shipping runtime import bitcode
Program builds have not imported runtime bitcode since fc38e6279, but
every runtime pack still built and listed it: release units through the
helper's prune-import, speed units as runtime-unit's second output. That
is 24 MB of the linux-x64-gnu pack.

Building that bitcode also cost scr_glibc_math its runtime profile: the
pruned import module keeps the floor, ceil and trunc ifuncs without their
resolvers and fails verification, and runtime-unit built it before the
object, so the whole speed unit fell back to a direct compile. The build
printed only the first line of the helper's stderr, a CPU feature
warning.

- runtime-unit's --bitcode is optional (feature
  "runtime-unit-optional-bitcode"), and pack builds no longer pass it or
  run prune-import. Speed objects come out as before, scr_glibc_math's now
  with the runtime profile.
- Pack manifests list no bitcode, and the compiler no longer validates the
  field. verify and share-artifacts check objects only.
- A unit the helper can't emit reports the helper's JSON diagnostic.
- The zero-cost gate names changed runtime functions from the objects'
  disassembly instead of the bitcode.
2026-10-29 17:58:37 -05:00
..
2026-10-12 15:21:39 -05:00