web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
10.13k stars 575 forks source link

refactor: unify to filesystem in rspack_core #8522

Closed hardfist closed 1 day ago

hardfist commented 1 day ago

Summary

It's not necessary to distinguish different filesystem trait in rust side, which only cause maintenance burden, we just need to distinguish input & output & intermediate filesystem in ThreadsafeNodeFS

Checklist

netlify[bot] commented 1 day ago

Deploy Preview for rspack canceled.

Name Link
Latest commit a247ef9fe3745120330ed60f1a034d6c39cc3e6f
Latest deploy log https://app.netlify.com/sites/rspack/deploys/67442f4bcc68d90008cab124
codspeed-hq[bot] commented 1 day ago

CodSpeed Performance Report

Merging #8522 will not alter performance

Comparing yj/unify-filesystem (a247ef9) with main (eb12150)

Summary

✅ 1 untouched benchmarks