Skip to content

Commit a5a700c

Browse files
committed
fix(cmake): set fmtlib visibility to default, upgrade fmtlib to 11.1.3
1 parent 640e133 commit a5a700c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
- `list:setAt` can work with negative indexes, and is now bound checked
102102
- re-enabled the AST optimizer, only used for the main `arkscript` executable (not enabled when embedding arkscript, so that one can grab variables from the VM)
103103
- loops have their own scope: variables created inside a loop won't leak outside it
104+
- upgraded fmtlib to 11.1.3-13
104105

105106
### Removed
106107
- removed unused `NodeType::Closure`

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG OR APPLE)
7676
-fvisibility=hidden
7777
-fno-semantic-interposition
7878
)
79+
# set fmtlib visibility to default
80+
target_compile_definitions(ArkReactor PUBLIC FMT_SHARED)
7981

8082
if (APPLE)
8183
# The standard SSH libraries are depreciate on APPLE.
@@ -114,7 +116,8 @@ elseif (MSVC)
114116
/wd4267 # disable warning about data loss (size_t -> int)
115117
/wd4244 # disable warning about data loss (size_t -> char)
116118
/wd4505 # disable warning about unused static function was deleted
117-
/wd4068) # disable warnings about unknown pragmas.
119+
/wd4068 # disable warnings about unknown pragmas.
120+
/utf-8)
118121
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:8000000") # set stack size to 8MB
119122
endif ()
120123

lib/fmt

Submodule fmt updated 189 files

0 commit comments

Comments
 (0)