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

Commit 8598065

Browse files
angelslalexcrichton
authored andcommitted
Rust: fix MSVC-built lib pulling in other lib files
Conflicts: lib/builtins/CMakeLists.txt
1 parent f609165 commit 8598065

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/builtins/int_math.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
#if defined(_MSC_VER) && !defined(__clang__)
2929
#include <math.h>
3030
#include <stdlib.h>
31-
#include <ymath.h>
31+
// Rust: need to upstream this
32+
// don't include ymath.h, it's not needed + pulls in the C++ stdlib for some reason
33+
// #include <ymath.h>
3234
#endif
3335

3436
#if defined(_MSC_VER) && !defined(__clang__)

0 commit comments

Comments
 (0)