Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(xml): wasm parser compilation is not deterministic #59

Open
lowlighter opened this issue Jun 3, 2024 · 0 comments
Open

bug(xml): wasm parser compilation is not deterministic #59

lowlighter opened this issue Jun 3, 2024 · 0 comments

Comments

@lowlighter
Copy link
Owner

For some reason code below is not deterministic on compilation/minification, which cause the CI to perform rebuilds even when it's not needed. To troubleshoot

// Token types enum.
#[wasm_bindgen]
#[repr(u8)]
pub enum Token {
Error = 0,
XMLDeclaration = 1,
XMLDoctype = 2,
XMLInstruction = 3,
TagOpen = 4,
TagClose = 5,
TagAttribute = 6,
Text = 7,
CData = 8,
Comment = 9,
}
// State enum.
#[wasm_bindgen]
#[repr(u8)]
pub enum State {
ParseAttribute = 1,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant