mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Allow ZigVersion
enum to have dead code (unused case)
Quick and dirty PR to suppress warning when building / running compiler that says: ```rust warning: variant is never constructed: `Zig8` --> compiler/gen_wasm/src/layout.rs:143:5 | 143 | Zig8, | ^^^^ | = note: `#[warn(dead_code)]` on by default ``` I'm guessing that the `Zig8` case will be used at some point, so outright deleting the case seemed hasteful to me.
This commit is contained in:
parent
2f654ca6dd
commit
f080180b1d
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ impl WasmLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
#[derive(PartialEq, Eq)]
|
#[derive(PartialEq, Eq)]
|
||||||
pub enum ZigVersion {
|
pub enum ZigVersion {
|
||||||
Zig8,
|
Zig8,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue