Function: comp-ensure-native-compiler
comp-ensure-native-compiler is a byte-compiled function defined in
comp.el.gz.
Signature
(comp-ensure-native-compiler)
Documentation
Make sure Emacs has native compiler support and libgccjit can be loaded.
Signal an error otherwise. To be used by all entry points.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
(defun comp-ensure-native-compiler ()
"Make sure Emacs has native compiler support and libgccjit can be loaded.
Signal an error otherwise.
To be used by all entry points."
(cond
((null (featurep 'native-compile))
(error "Emacs was not compiled with native compiler support (--with-native-compilation)"))
((null (native-comp-available-p))
(error "Cannot find libgccjit library"))))