final Sdk sdk = RustSdkUtil.getSdk(project);
if ( sdk == null ) {
throw new CantRunException("No Rust sdk defined for this project");
}
final RustSdkData sdkData = (RustSdkData)sdk.getSdkAdditionalData();
if ( sdkData == null ) {
throw new CantRunException("No Rust sdk defined for this project");
}
String projectDir = project.getBasePath();