Skip to content

[Bug]: panic in render_chunk_exports #2085

@Boshen

Description

@Boshen

Reproduction link or steps

I'm testing rolldown in https://github.com/oxc-project/monitor-oxc

Change dependency to a local build:

  "dependencies": {
    "rolldown": "link:../../github/rolldown/packages/rolldown",
pnpm install
pnpm run rolldown

What is expected?

No panic

What is actually happening?

let canonical_name = &chunk.canonical_names[&canonical_ref];

thread 'tokio-runtime-worker' panicked at crates/rolldown/src/utils/chunk/render_chunk_exports.rs:31:54:
no entry found for key
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

System Info

None

Any additional comments?

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions