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

hardcode js run code #151

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

yviansu
Copy link
Contributor

@yviansu yviansu commented Mar 7, 2024

No description provided.

Signed-off-by: Su Yihan <yihan.su@intel.com>
@@ -3,6 +3,7 @@
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/

type i32 = number;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we require app to write this line?

Copy link
Contributor Author

@yviansu yviansu Mar 8, 2024

Choose a reason for hiding this comment

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

For compiling ts to wasm, we don't need this line, but we also need to compile ts to js, in this situation, we need to set i32 as a reasonable type.

Signed-off-by: Su Yihan <yihan.su@intel.com>
@xujuntwt95329 xujuntwt95329 merged commit 3a6af05 into web-devkits:main Mar 12, 2024
19 checks passed
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