Skip to content

FOUND FIX FOR PANIC Error in 1.47.0 with optimized build of router with custom PLUGINS in router-bridge-0.5.21+v2.7.5/src/worker.rs:101:38: #5237

Closed Answered by golfingal72
golfingal72 asked this question in Q&A
Discussion options

You must be logged in to vote

I found the answer:

if you are rebuilding a custom router, please add these lines to your Cargo.toml. It appears that serde_v8 build with opt_level > 1 causes all the problems

[profile.release.package.serde_v8]
opt-level=1

[profile.dev.package.serde_v8]
opt-level=1

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by golfingal72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant