set-optimize!/set-direct-link! are process-global flags in the back end, set then reset around the emit. A strict-form build error (failing forms error the build by design) skipped the reset, leaving the compiler in optimize/direct-link mode for any later in-process caller. dynamic-wind guarantees the revert. Behaviour unchanged on the success path; both --tree-shake and --opt --direct-link build + run identically. |
||
|---|---|---|
| .. | ||
| chez | ||