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

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

bug#52912: 29.0.50; Left over files from native compilation


From: Andrea Corallo
Subject: bug#52912: 29.0.50; Left over files from native compilation
Date: Mon, 17 Jan 2022 11:07:48 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Andrea Corallo <akrl@sdf.org> writes:
>
>> I guess Emacs was brutally killed while building, otherwise we should
>> clean these.  Not sure how we can do better here, it works exactly as
>> the byecompiler is working (but is just slower in compiling).
>
> I think I've asked this before -- do we have to write the temporary .elc
> files out to disk at all before doing the .eln compilation?  Can't that
> work directly from an in-buffer .elc?

I think the same question applies the bytecompiler only:

Do we have to write the temporary .elc files out to disk at all before
producing and renaming the final .elc?

In general the last action is good to be a file rename as this should be
atomic.  But that said yes, _when_ we write the temporary file is up to
us.  Again this is not strictly a native compiler issue, just with the
native compiler is more likely to be encountered.

Best Regards

  Andrea





reply via email to

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