[Top][All Lists]

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

Re: Finalizing 'inhibit-automatic-native-compilation'

From: Stefan Monnier
Subject: Re: Finalizing 'inhibit-automatic-native-compilation'
Date: Sun, 29 Jan 2023 21:30:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> > IMO, the "no writable eln-cache" scenario should be solved by tweaking
>> > native-comp-eln-load-path to include a writable directory.  That
>> > writable directory could be temporary-file-directory, or it could be
>> > anything else, but it should be specified by the caller/user, not
>> > pulled out of our hat behind the scenes.
>> That's where I disagree: when it comes to trampolines I think users
>> would be better served if we silently used an eln-cache in
>> `temporary-file-directory` rather than ignoring the subr's redefinition
>> (usually due to an advice).
> Why? in the Debian use case all they care about is that the file is
> not written to HOME, and my proposal doesn't break that.

AFAIK your proposal breaks some uses of advice.

> The trampoline isn't needed in their scenario, so there's no reason to
> generate it.

I don't know if they need trampolines, but I wouldn't be surprised if
they do on occasion.


reply via email to

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