diff options
| author | David Wood <david@davidtw.co> | 2018-09-28 00:56:41 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-10-02 01:16:08 +0200 |
| commit | 02357e459be7fb2014f57f1a86b38897c2c0816b (patch) | |
| tree | 92beedfaeca64945c62ea3d4bc071d44c31030fb /src/rustllvm/RustWrapper.cpp | |
| parent | 4cbd397ce861ae0ee823ab56d1f797dee67e0b64 (diff) | |
| download | rust-02357e459be7fb2014f57f1a86b38897c2c0816b.tar.gz rust-02357e459be7fb2014f57f1a86b38897c2c0816b.zip | |
Attempt to resolve linking issues.
This commit takes a different approach to add the `crate::` prefix to item paths than previous commits. Previously, recursion was stopped after a prelude crate name was pushed to the path. It is theorized that this was the cause of the linking issues since the same path logic is used for symbol names and that not recursing meant that details were being missed that affect symbol names. As of this commit, instead of ceasing recursion, a flag is passed through to any subsequent recursive calls so that the same effect can be achieved by checking that flag.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
