I have bit of custom elisp code (few hundred lines) that gets loaded from config.el with (load "~/path/my.el"). I have noticed these functions are never natively compiled. Some of them are bit long running, and will be helped by native-comp.
What did you expect to happen?
Doom/Emacs should automatically natively compile these custom functions either ahead of time or JIT as stock emacs.
While this builds doom config, as soon as Emacs launches it complains about missing function definition from my file that are called in rest of the config. So while doom sync says the package is built, it isn’t actually loaded when Emacs starts.