mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Auto merge of #13116 - upsuper:msvc32-atoms, r=emilio
Avoid LLVM prepending "_" for msvc32 symbols. See rust-lang/rust#36097. This patch adds a workaround to that issue, which makes win32 stylo build. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13116) <!-- Reviewable:end -->
This commit is contained in:
commit
c55588d25b
2 changed files with 2459 additions and 2457 deletions
|
@ -17,7 +17,9 @@ def msvc64_symbolify(source, ident):
|
|||
|
||||
|
||||
def msvc32_symbolify(source, ident):
|
||||
return "?" + ident + "@" + source.CLASS + "@@2PAV" + source.TYPE + "@@A"
|
||||
# Prepend "\x01" to avoid LLVM prefixing the mangled name with "_".
|
||||
# See https://github.com/rust-lang/rust/issues/36097
|
||||
return "\\x01?" + ident + "@" + source.CLASS + "@@2PAV" + source.TYPE + "@@A"
|
||||
|
||||
|
||||
class GkAtomSource:
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue