How to export with custom engine build?

Godot Version

4.2

Question

Hi, I’m working with engine development for some experimental features.
My added engine features works well when I executes game on editor.
But there is some problem on exporting project for arm64…

Case-1) Without custom_template

This works on arm64 device.
However, exported binary is compiled with ordinary godot engine(without my feature).

Case-2) With custom_template

If I set “custom template” fields on export option like this, exported binary reflects my custom engine features.

[preset.1.options]

custom_template/debug="path_to_my_custom_engine_binary"
custom_template/release="path_to_my_custom_engine_binary"
...
binary_format/architecture="arm64"

However, even though I specify arm64, this only exports for x86_64 architecture…