-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple definition error across multiple include_cpp calls #1229
Comments
If this is solved, it could potential serve as a work-around to #486 |
I might have a simple solution for this |
1 task
Thanks - see comments on pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
This shouldn't crash and the symbols should be properly mangled so they don't conflict across
include_cpp
calls.Actual Behavior
It should be noted that the name of the files (e.x.
gen2.cxx
,gen0.cxx
) is consistent after runningcargo clean
and then recompiling.Steps to Reproduce the Problem
src/thing.h
:src/item.h
:src/main.rs
:src/build.rs
:Specifications
The text was updated successfully, but these errors were encountered: