Not an expert, but I think anything compiled for the ISA implementation you have should work.
If there's an issue with RISC-V it's that it's not one ISA with additional instructions accumulating across generations (which I think describes x86), it's a core ISA with a variety of extension blocks that might or might not be present in your implementation. I think this means that any random RISC-V binary stands a greater chance of not working on a chip you've bought than e.g. any random x86 binary with an x86 chip.
If there's an issue with RISC-V it's that it's not one ISA with additional instructions accumulating across generations (which I think describes x86), it's a core ISA with a variety of extension blocks that might or might not be present in your implementation. I think this means that any random RISC-V binary stands a greater chance of not working on a chip you've bought than e.g. any random x86 binary with an x86 chip.