Skip to content

Allow non-literal constants in typescript_custom_section #3115

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

Closed
wants to merge 1 commit into from

Conversation

71
Copy link

@71 71 commented Oct 13, 2022

Also:

  • Bump version to 0.2.84, since the internal schema is changing.
  • Bump MSRV for UI tests to 1.57 to allow assert! in const fns.
  • Update UI test outputs.

This will, among other things, allow include_str! in #[wasm_bindgen(typescript_custom_section)] (and fix #2828). This also opens the door for non-literal constants in inline_js (thus fixing #2787) with minimal changes.

Also:
- Bump version to 0.2.84, since the internal schema is changing.
- Bump MSRV for UI tests to 1.57 to allow `assert!` in `const fn`s.
- Update UI test outputs.
@71
Copy link
Author

71 commented Feb 15, 2023

Huh, renaming a branch from GitHub considers that the branch is deleted in open PRs. I made the same PR again in #3308.

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.

typescript_custom_section doesn't accept the result of include_str macro
1 participant