> so there isn’t much material to train AI with
Presence of a lot of example code in the training data doesn't seem to matter as much as in the olden days. Zig works just fine as LLM target, and so do other 'niche' programming languages.
That Rust is particulary well suited for LLM code generation seems to be mainly a popular opinion in the Rust community as coping mechanism for the fact that language choice really doesn't matter much anymore and their precious Rust language as is good as any when the code is written by LLMs ;P