bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53497: 29.0.50; native-compile after restarting Emacs


From: Eli Zaretskii
Subject: bug#53497: 29.0.50; native-compile after restarting Emacs
Date: Thu, 27 Jan 2022 12:31:58 +0200

> From: Andrea Corallo <akrl@sdf.org>
> Cc: Arash Esbati <arash@gnu.org>, larsi@gnus.org, 53497@debbugs.gnu.org
> Date: Thu, 27 Jan 2022 10:11:29 +0000
> 
> Before `comp--loadable' becomes true (read the native compiler is not
> loadable) each time we enter in 'maybe_defer_native_compilation' we
> accumulate the compilation units we want to compile in
> `comp--delayed-sources'.
> 
> When we finally call `startup--honor-delayed-native-compilations' we
> check if something is pending in `comp--delayed-sources' and if this is
> the case we load the native compiler and we compile what's pending.

Yes, I understood that much.  What I didn't understand was how would
comp--delayed-sources become non-empty during startup, if none of the
files loaded during startup need to be native-compiled.

> Unless I'm wrong the problem I see here is that if
> `comp--delayed-sources' is empty we never set `comp--loadable' to t.

Yes, I think so.

> I'll be testing a patch today and report.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]