<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-meta-native-comp-speed.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-07-02T01:49:31+00:00</updated>
<entry>
<title>fix(native-comp): compile at speed 2 to preserve redefinition semantics</title>
<updated>2026-07-02T01:49:31+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-07-02T01:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=75198a74bfd9c50b29b13b2d9a3205504a13c4ef'/>
<id>urn:sha1:75198a74bfd9c50b29b13b2d9a3205504a13c4ef</id>
<content type='text'>
At speed 3 the native compiler emits direct calls for functions in the same compilation unit, bypassing the symbol's function cell. Any cl-letf mock of a module's own helper then silently runs the real code: the recording tests' mocked wayland check and device validation were bypassed, and make test launched real wf-recorder screen captures. Speed 2 is the highest level that preserves redefinition semantics. A meta test now pins the setting; the local eln cache needs one flush so stale speed-3 artifacts recompile.
</content>
</entry>
</feed>
