Skip to content

Fix: SSR ex: value identifier server_main is unbound#104

Merged
Yoorkin merged 1 commit intomoonbit-community:mainfrom
eatse21:fix-ssr-unbound-identifier
Mar 2, 2026
Merged

Fix: SSR ex: value identifier server_main is unbound#104
Yoorkin merged 1 commit intomoonbit-community:mainfrom
eatse21:fix-ssr-unbound-identifier

Conversation

@eatse21
Copy link
Contributor

@eatse21 eatse21 commented Feb 28, 2026

The project was building without any problem, but VSCode was complaining about server_main not being found

value_unbound

I think since #cfg(not(target="js")) has a wider scope than just target="native" like on its definition, it says it can't find it

@Yoorkin Yoorkin merged commit de127ff into moonbit-community:main Mar 2, 2026
1 of 2 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