Trunk not calling build.rs
#938
Unanswered
Baptistemontan
asked this question in
Q&A
Replies: 1 comment
-
I am not sure about the order of running pipelines. IIRC that happens in parallel. However, there are "pre" and "post" hooks which can be used. I am not sure if that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a
build.rs
to generate some assets but when I usetrunk build
the assets are not generated and the pipeline fails to find them.Even with a clean directory and all the
cargo:rerun-if-changed
that I need,cargo build
does use the build script buttrunk build
does not.Is there a reason for that ?
Edit: It seams like it actually does use the
build.rs
but after the assets pipeline, so it fails to find them as they are generated after...Beta Was this translation helpful? Give feedback.
All reactions