Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ Released YYYY-MM-DD.

### Added

* TODO (or remove section if none)
* `ModuleConfig::generate_source_map` and `Module::emit_wasm_with_source_map`
build a source map of the emitted module from its DWARF, with the
[Scopes](https://tc39.es/ecma426/branch/proposal-scopes/) of its functions
and inlined calls, and point the module at it with a `sourceMappingURL`
section. Each source file gets a `Module` scope around the `Function`
scopes of its functions, which the generic copies and shims of a function
share.
`ModuleConfig::source_map_scopes(false)` leaves the Scopes out, for a map
with only mappings.

### Changed

Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ walrus-macro = { path = './crates/macro', version = '=0.26.0' }
wasm-encoder = "0.245.1"
wasmparser = "0.245.1"
gimli = "0.34.0"
rustc-demangle = "0.1.24"

[features]
parallel = ['rayon', 'id-arena/rayon']
Expand Down
Loading
Loading