Manually Run Rosetta 2 on x86 Binary
If you've written a program in C, simply compile the program twice, using Mac's version of gcc, and then use lipo to combine them into one program.
See https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary for Apple's explanation of the process to create a universal Binary (containing both x86_64 and ARM64)