You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently fs_core.ts and fs_fd.ts import each other. Fortunately it does not cause any problem at the moment, but Rollup conservatively warns about this. (I faced it while changing default bundled WASI implementation of ruby.wasm: ruby/ruby.wasm#332)
There are some options to address this issue. Which option do you like, @bjorn3? I personally prefer 2. since it is the simplest and does not change any public API.
Just ignore the warning or fix rollup to produce more precise cycle detection
Merge fs_core.ts and fs_fd.ts
Re-organize fs_core.ts and fs_fd.ts's API to avoid cycle
The text was updated successfully, but these errors were encountered:
Forgot to reply here. I think merging fs_core.ts and fs_fd.ts is fine. Or maybe separate files and directories instead. There shouldn't be a cyclic dependency between those except maybe through type hints.
Currently
fs_core.ts
andfs_fd.ts
import each other. Fortunately it does not cause any problem at the moment, but Rollup conservatively warns about this. (I faced it while changing default bundled WASI implementation of ruby.wasm: ruby/ruby.wasm#332)There are some options to address this issue. Which option do you like, @bjorn3? I personally prefer 2. since it is the simplest and does not change any public API.
fs_core.ts
andfs_fd.ts
fs_core.ts
andfs_fd.ts
's API to avoid cycleThe text was updated successfully, but these errors were encountered: