@specy/risc-v 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +673 -608
- package/dist/index.mjs +673 -608
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -158,7 +158,10 @@ type RISCVAssembleError = {
|
|
|
158
158
|
type RISCVAssembleResult = {
|
|
159
159
|
report: string;
|
|
160
160
|
errors: RISCVAssembleError[];
|
|
161
|
+
/** True only when at least one diagnostic is a real error; warnings alone leave the assembled program runnable. */
|
|
161
162
|
hasErrors: boolean;
|
|
163
|
+
/** True when at least one diagnostic is a warning. */
|
|
164
|
+
hasWarnings: boolean;
|
|
162
165
|
};
|
|
163
166
|
declare class RISCV {
|
|
164
167
|
static makeRiscVFromSource: typeof makeRiscVfromSource;
|
package/dist/index.d.ts
CHANGED
|
@@ -158,7 +158,10 @@ type RISCVAssembleError = {
|
|
|
158
158
|
type RISCVAssembleResult = {
|
|
159
159
|
report: string;
|
|
160
160
|
errors: RISCVAssembleError[];
|
|
161
|
+
/** True only when at least one diagnostic is a real error; warnings alone leave the assembled program runnable. */
|
|
161
162
|
hasErrors: boolean;
|
|
163
|
+
/** True when at least one diagnostic is a warning. */
|
|
164
|
+
hasWarnings: boolean;
|
|
162
165
|
};
|
|
163
166
|
declare class RISCV {
|
|
164
167
|
static makeRiscVFromSource: typeof makeRiscVfromSource;
|