Skip to content

Expand CI#20

Open
daxpedda wants to merge 3 commits intomainfrom
daxpedda
Open

Expand CI#20
daxpedda wants to merge 3 commits intomainfrom
daxpedda

Conversation

@daxpedda
Copy link
Copy Markdown
Member

No description provided.

@daxpedda daxpedda force-pushed the daxpedda branch 20 times, most recently from 9ecf878 to 2604741 Compare March 17, 2026 13:09
@daxpedda daxpedda force-pushed the daxpedda branch 9 times, most recently from b1facb5 to 0e2104b Compare March 19, 2026 23:40
" }})",
" let view",
"",
" if (this.#jsEmbed.js_sys['string.sab']) {{",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this still need to be checked? What is the relationship between this and not(js_sys_target_feature = "sab")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think I kind of get it now — with the sab feature enabled, it only works on SharedArrayBuffer, but with the sab feature disabled, it can work on both ArrayBuffer and SharedArrayBuffer?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The sab feature just assumes that TextDe/Encoder works with SharedArrayBuffer without checking.
Without the sab feature we do a runtime check.

But the sab feature itself has no effect without +atomics because SharedArrayBuffer is not supported without it.

@daxpedda daxpedda force-pushed the daxpedda branch 10 times, most recently from 0a308e3 to ed44d52 Compare March 21, 2026 07:15
@daxpedda daxpedda force-pushed the daxpedda branch 4 times, most recently from 7e78bf7 to 0b9c6f6 Compare March 24, 2026 15:18
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