I am compiling my program for Android like so nim c --nimcache:"./foo/bar/src" --cpu:amd64 client.nim with a client.nim.cfg that contains:
@if android:
--genScript
@end
This generates .c code in ./foo/bar/src, with nim 1.0.6 the nimbase.h is placed there, but with devel it's not.