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

Make module serialization deterministic #2692

Merged
merged 12 commits into from
Nov 23, 2021
Merged

Make module serialization deterministic #2692

merged 12 commits into from
Nov 23, 2021

Conversation

Amanieu
Copy link
Contributor

@Amanieu Amanieu commented Nov 22, 2021

Fixes #2173

Includes the tests from #2184.

@Amanieu Amanieu requested a review from syrusakbary as a code owner November 22, 2021 15:50
@Amanieu Amanieu requested a review from ptitSeb November 22, 2021 15:56
Comment on lines 60 to 76
// let mut compiler = LLVM::default();
// compiler.canonicalize_nans(true);
// compiler.enable_verifier();
// compile_and_compare("jit-llvm", JIT::new(compiler.clone()).engine(), &wasm_bytes);
// compile_and_compare("native-llvm", Native::new(compiler).engine(), &wasm_bytes);

// let compiler = Singlepass::default();
// compile_and_compare(
// "jit-singlepass",
// JIT::new(compiler.clone()).engine(),
// &wasm_bytes,
// );
// compile_and_compare(
// "native-singlepass",
// Native::new(compiler).engine(),
// &wasm_bytes,
// );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we re-enable this ones?

@syrusakbary
Copy link
Member

It seems tests failed because of not enough memory in the VM. We can try to merge

bors r+

bors bot added a commit that referenced this pull request Nov 22, 2021
2692: Make module serialization deterministic r=syrusakbary a=Amanieu

Fixes #2173

Includes the tests from #2184.

Co-authored-by: Amanieu d'Antras <[email protected]>
Co-authored-by: Anbang Wen <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 22, 2021

Canceled.

@Amanieu
Copy link
Contributor Author

Amanieu commented Nov 23, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 23, 2021

@bors bors bot merged commit 277ab29 into master Nov 23, 2021
@bors bors bot deleted the deterministic branch November 23, 2021 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reproducible builds
2 participants