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
brandonson opened this issue
May 15, 2013
· 5 comments
Labels
A-codegenArea: Code generationA-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Say we have a crate file A.rc which includes mod A and mod B, file B is a module that defines an extern function that takes a pointer to a struct, and file C is a module that uses file B using mod B.
Note that this does not happen when the parameters to the extern fn are not pointers to a struct. It also does not happen when compiling just other.rs, or without crate.rc depending on other2.rs.
I'm running ubuntu 13.04 with gcc 4.7.3, and I've had this occur with rust builds from both the master and auto branches, and also with rust 0.6.
The text was updated successfully, but these errors were encountered:
fix ci on master branch; run the --fix test in the correct directory
Turned out the --fix test was run in the wrong directory.
*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: none
A-codegenArea: Code generationA-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Say we have a crate file A.rc which includes mod A and mod B, file B is a module that defines an extern function that takes a pointer to a struct, and file C is a module that uses file B using mod B.
I get the following error:
I managed to bring it down to a simple example that reproduces the problem:
crate.rc
other.rs
other2.rs
Note that this does not happen when the parameters to the extern fn are not pointers to a struct. It also does not happen when compiling just other.rs, or without crate.rc depending on other2.rs.
I'm running ubuntu 13.04 with gcc 4.7.3, and I've had this occur with rust builds from both the master and auto branches, and also with rust 0.6.
The text was updated successfully, but these errors were encountered: