Export comp-deferred-compilation-black-list via autoloads
The latest straight.el adds `:no-native-compile` packages to the compilation blacklist. We export the build-time blacklist via autoloads so that it works as expected to prevent native compilation at runtime.
This commit is contained in:
parent
89c464ddf7
commit
30140021de
1 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,7 @@ one wants that.")
|
|||
(defvar doom-autoloads-cached-vars
|
||||
'(doom-modules
|
||||
doom-disabled-packages
|
||||
comp-deferred-compilation-black-list
|
||||
load-path
|
||||
auto-mode-alist
|
||||
interpreter-mode-alist
|
||||
|
@ -42,8 +43,9 @@ one wants that.")
|
|||
(signal 'doom-error
|
||||
(list "The installed version of Doom has changed since last 'doom sync' ran"
|
||||
"Run 'doom sync' to bring Doom up to speed"))))
|
||||
(mapcar (lambda (var) `(set ',var ',(symbol-value var)))
|
||||
doom-autoloads-cached-vars)
|
||||
(cl-loop for var in doom-autoloads-cached-vars
|
||||
when (boundp var)
|
||||
collect `(set ',var ',(symbol-value var)))
|
||||
(doom-autoloads--scan
|
||||
(append (cl-loop for dir
|
||||
in (append (list doom-core-dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue