* Account for `byte-compile-warnings' during native compilation (bug#63302).

* lisp/emacs-lisp/comp.el (comp-final, comp-run-async-workers):
Forward `byte-compile-warnings' to child processes.
This commit is contained in:
Andrea Corallo 2023-05-10 13:50:51 +02:00
parent b5bfd808c6
commit 1e57b2b4c7

View file

@ -3724,6 +3724,7 @@ Prepare every function for final compilation and drive the C back-end."
',native-comp-compiler-options
native-comp-driver-options
',native-comp-driver-options
byte-compile-warnings ',byte-compile-warnings
load-path ',load-path)
,native-comp-async-env-modifier-form
(message "Compiling %s..." ',output)
@ -3996,6 +3997,7 @@ display a message."
native-comp-driver-options
load-path
backtrace-line-length
byte-compile-warnings
;; package-load-list
;; package-user-dir
;; package-directory-list