so is there any file in the zig lang sources where you can see how it validates code models for specific arches? because i cant find any and i want code model to work for RISC-V only but i cant find the file where i can actually fit that in
Are you asking about how to compile against a RISC-V triple?