[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Updating *.el files and native compilation
From: |
Andrea Corallo |
Subject: |
Re: Updating *.el files and native compilation |
Date: |
Mon, 10 May 2021 20:45:14 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: emacs-devel@gnu.org
>> Date: Mon, 10 May 2021 15:44:16 +0000
>>
>> > If so, how can we make sure we never fail to update comp-abi-hash when
>> > that is needed?
>>
>> The vast majority of the cases is when some subr is added or a signature
>> is changed and we account for this automatically. The rest should be
>> only about changes specific to the eln load mechanism in comp.c. I hope
>> who does that is very well aware of consequences but I don't know if
>> there's a way we can automatically guard against these changes breaking
>> the system (I guess there's not).
>
> Maybe you should try writing up the rules for when such a change is
> needed. Don't worry about the English correctness: it is easy to fix
> that once the text is written. But I think no one but you knows the
> rules for now, so it should be a good idea to record them.
Okay I can try thinking about something for this, where shall we put it?
In a comment in comp.c (perhaps close to the ABI_VERSION definition)?
Andrea