Until now, I have just been compiling Syncthing using the default Go settings as follows.
go run build.go
However, it can take a few minutes to compile, especially when starting from scratch. One thing that bothers me a little is that the CPU usage while compiling is very low, e.g. only ~10% with Ryzen 4350G (4 cores + 4 threads). Everything is located on a fast SSD RAID, so storage is not the culprit either.
Are there any possible tweaks to speed up the compilation process, e.g. by increasing the multithreading or such?