Check for Rust host and target support
This commit is contained in:
@@ -80,6 +80,10 @@ module.exports = class HakEnv {
|
||||
return this.getRuntimeAbi() + '-' + this.target.platform + '-' + this.target.arch;
|
||||
}
|
||||
|
||||
getRustTarget() {
|
||||
return this.target.id;
|
||||
}
|
||||
|
||||
isWin() {
|
||||
return this.target.platform === 'win32';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user