swc/crates/swc_common
OJ Kwon 577f81ec40
fix(common): Workaround the Arc and rkyv issue (#7321)
**Description:**

Attempt to workaround #7238.

Originally I thought this is related with oom or memory layout, then realized actual deserialization error occurs in weird position - it tries to deserialize BytePos (which is obvious type) and it fails. It made me think maybe a property next to the struct layout have some unexpected behavior, notably Arc<String>.

PR applies same workaround as Atom does, and it seems to at least pass swc-coverage-instrument's usecases. May need bit more verification with other plugins to see if we can call this out as reliable workaround.
2023-04-24 09:23:31 +00:00
..
benches refactor(ast): Make serde optional (#7138) 2023-03-27 13:28:42 +09:00
examples build(cargo): Update bitflags to v2 (#7270) 2023-04-15 03:26:56 +00:00
src fix(common): Workaround the Arc and rkyv issue (#7321) 2023-04-24 09:23:31 +00:00
tests refactor(plugin): Remove bytecheck flag (#7256) 2023-04-13 05:49:58 +00:00
Cargo.toml chore: Publish crates 2023-04-15 03:29:04 +00:00