private String getRustCC(Program program) throws DWARFException {
		if (rustCC == null) {
			rustCC = CompilerSpec.CALLING_CONVENTION_rustcall;
			try {
				// NOTE: this has a side effect of ensuring the rust cc is present in the program
				ProgramBasedDataTypeManagerDB dtm =
					(ProgramBasedDataTypeManagerDB) program.getDataTypeManager();
				dtm.getCallingConventionID(CompilerSpec.CALLING_CONVENTION_rustcall, false);
			}
			catch (InvalidInputException | IOException e) {
				throw new DWARFException("Unable to get Rust calling convention");
			}
		}
		return rustCC;
	}
Adjust functions in a Rust compile unit to use Rust calling convention, ignore any information
about parameter storage locations.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/funcfixup/RustDWARFFunctionFixup.java