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

[JSBackend] don't use dllexport since it causes problems when building rustc #73

Merged
merged 1 commit into from
Apr 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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