zig build 能不能两个产物有个前后关系 #156
Guozhanxin
started this conversation in
General
Replies: 1 comment 6 replies
-
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我有个项目会包括嵌入式和上位机两个部分。然后上位机的部分希望能把嵌入式生成的产物嵌入进来。用了@embedfile。不过目前第一次编译会报错,因为同时编译嵌入式端的产物还没编译出来。

https://github.com/puppy-rtos/stm32-zboot/blob/92047c41c2c3ef8f5df77a06f4adff2eeed929c8/build.zig#L49-L62
Beta Was this translation helpful? Give feedback.
All reactions