neon-cli
Version:
Build and load native Rust/Neon modules.
14 lines (13 loc) • 491 B
TypeScript
import * as rust from "./rust";
import * as JSON from "ts-typed-json";
export default class BuildSettings {
private rustc;
private nodeVersion;
private env;
constructor(rustc: string, nodeVersion: string | null, env: Record<string, string | null>);
match(other: BuildSettings): boolean;
static getNodeVersion(): string;
static current(toolchain?: rust.Toolchain): BuildSettings;
static fromJSON(value: JSON.Value): BuildSettings;
toJSON(): JSON.Object;
}