You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust: Reorder targets in makefile to make second expansion clearly.
.SECONDEXPANSION directive instructs targets AFTER it to expand twice.
According to GNU make manual, the special target .SECONDEXPANSION must
be defined before the first prerequisite list that makes use of this
feature.
For Rust's makefile, only sources from rust lib requires second
expansion. Move those targets to the end of makefile and tag only them
as .SECONDEXPANSION to prevent from error-prone bugs.
Signed-off-by: d0u9 <[email protected]>
0 commit comments