I've been thinking recently about this. Given that it's a black box: I think it's better to have the LLM write Rust code than Python, node.js or anything else. You might as well use the strictest possible language to improve the chances that the code the LLM writes is safe even maybe if you are not a Rust specialist.
Also: syntax is for humans, might as well use LISP AST syntax for all future languages since no human is going to read it anyway.