]> git.eshelyaron.com Git - emacs.git/commit
native-comp-available-p is the definitive test
authorStephen Gildea <stepheng+emacs@gildea.com>
Tue, 5 Oct 2021 16:15:57 +0000 (09:15 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Tue, 5 Oct 2021 16:24:11 +0000 (09:24 -0700)
commitd86b2e59c746966e1ae023937b2a6b3b8c16d18b
treed9af1b1c91f58a13f90fb10f87f14f7337d0affd
parent1b383ac424b847e5e50cc5e5e1761ebb9d7d658a
native-comp-available-p is the definitive test

* doc/lispref/compile.texi (Native Compilation): Document
native-comp-available-p as the way to test for native compilation.
* lisp/emacs-lisp/package.el (package--native-compile-async):
* test/lisp/mh-e/mh-utils-tests.el (mh-ensure-native-trampolines):
Test for native compilation with native-comp-available-p.

Thank you to Andrea Corallo for reviewing this patch.
doc/lispref/compile.texi
lisp/emacs-lisp/package.el
test/lisp/mh-e/mh-utils-tests.el