In the case r1 -> s1 -> s2 where s1 and s2 are uninstalled C static libraries, the libs1.a rule does not depend on libs2.a. That means that r1 rule must depend on both s1 and s2.pull/12507/head
parent
0bc01e87d9
commit
2da53e943a
5 changed files with 31 additions and 4 deletions
@ -0,0 +1,9 @@ |
||||
extern "C" { |
||||
fn static2() -> i32; |
||||
} |
||||
|
||||
fn main() { |
||||
unsafe { |
||||
static2(); |
||||
} |
||||
} |
@ -0,0 +1,5 @@ |
||||
int static1(void); |
||||
|
||||
int static1(void){ |
||||
return 1; |
||||
} |
@ -0,0 +1,7 @@ |
||||
int static1(void); |
||||
int static2(void); |
||||
|
||||
int static2(void) |
||||
{ |
||||
return 1 + static1(); |
||||
} |
Loading…
Reference in new issue