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

Added reference-types tests #2283

Closed
wants to merge 1 commit into from
Closed

Conversation

syrusakbary
Copy link
Member

Description

I tried to enable reference types but spectests are failing.
cc @MarkMcCaskey

Review

  • Add a short description of the change to the CHANGELOG.md file

@syrusakbary syrusakbary requested a review from MarkMcCaskey as a code owner May 1, 2021 09:58
Comment on lines +50 to +58
let is_referencetypes = wast_path.contains("reference-types");
let is_bulkmemory = wast_path.contains("bulk-memory");
let is_simd = wast_path.contains("simd");
if is_bulkmemory {
features.bulk_memory(true);
}
if is_referencetypes {
features.reference_types(true);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Reference types are enabled by default in tests now I believe, I don't think these changes do anything

Comment on lines +47 to +51
test_directory_module(
spectests,
"tests/wast/spec/proposals/reference-types",
wast_processor,
)?;
Copy link
Contributor

@MarkMcCaskey MarkMcCaskey May 4, 2021

Choose a reason for hiding this comment

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

Because reference types are fully stabilized, we don't need this and it's likely that the tests in there are out of date and failing in wasmparser or the semantics are out of date. #2268 is fully testing reference types. (edit and master is also entirely or mostly testing them... there are no additional failures related to ref types in #2268)

@MarkMcCaskey
Copy link
Contributor

Closing for now

@MarkMcCaskey MarkMcCaskey deleted the features/reftypes-tests branch May 4, 2021 17:45
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.

2 participants