Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
[JSBackend] don't use dllexport since it causes problems when buildin…
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN authored and arielb1 committed Jun 27, 2017
1 parent 01e00ed commit a62cd42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/Target/JSBackend/Relooper.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,12 @@ struct Debugging {

// C API - useful for binding to other languages

#ifdef _WIN32
// #ifdef _WIN32
// Any item marked as dllexport causes the mingw linker to no longer export
// unmarked symbols, which causes build problems for rustc (since the symbols it
// needs are no longer exported), so make sure all symbols are unmarked.
// See: https://github.com/rust-lang/rust/pull/40123#issuecomment-293798939
#if 0
#ifdef RELOOPERDLL_EXPORTS
#define RELOOPERDLL_API __declspec(dllexport)
#else
Expand Down

0 comments on commit a62cd42

Please sign in to comment.