Use include_bytes! instead of incbin.
This is the second attempt at this patch. The first version was reverted in 2ffd78da The problem, I suspect, was that the snapshot was represented as a source_set, which inserted a node into the dependency tree. include_bytes does properly insert the snapshot into rustc's depfile but the use of source_set confused gn. Now the that the deno executable has the create_deno_snapshot as a direct dependency, changes will be propagated.
Showing
src/snapshot.cc
已删除
100644 → 0
想要评论请 注册 或 登录