prisma-engines
2fab2ec7 - psl: Ensure `set_config_dir` can be eliminated if not used (#4596)

Commit
2 years ago
psl: Ensure `set_config_dir` can be eliminated if not used (#4596) * psl: Ensure `set_config_dir` can be eliminated if not used Due to dynamic dispatch, optimizer does not remove it from WASM bundle, even though it is not used. It brings in heavy URL parser that adds around 270K uncompressed/130K gzip. This PR rewrites it to be a free function outside of `Connector` trait that does not have this problem. Fix prisma/team-orm#772 * Hello clippy my old friend
Author
Parents
Loading