File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,9 @@ dependencies = [
166
166
167
167
[[package ]]
168
168
name = " cc"
169
- version = " 1.2.30 "
169
+ version = " 1.2.16 "
170
170
source = " registry+https://github.com/rust-lang/crates.io-index"
171
- checksum = " deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7 "
171
+ checksum = " be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c "
172
172
dependencies = [
173
173
" jobserver" ,
174
174
" libc" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ edition = "2024"
11
11
cxx = { version = " 1.0.160" , features = [" c++20" ] }
12
12
13
13
[build-dependencies ]
14
- cc = " 1.2.30 "
14
+ cc = " 1.2.16 "
15
15
cmake = " 0.1.54"
16
16
git2 = { version = " 0.20.2" , default-features = false , features = [" https" ] }
17
17
cxx-build = { version = " 1.0.160" , features = [" parallel" ] }
Original file line number Diff line number Diff line change @@ -215,8 +215,10 @@ fn compile_cpp_dependencies(genmc_path: &Path) {
215
215
if enable_genmc_debug {
216
216
bridge. define ( "ENABLE_GENMC_DEBUG" , None ) ;
217
217
}
218
+ for definition in definitions {
219
+ bridge. flag ( definition) ;
220
+ }
218
221
bridge
219
- . flags ( definitions)
220
222
. opt_level ( 2 )
221
223
. debug ( true ) // Same settings that GenMC uses (default for cmake `RelWithDebInfo`)
222
224
. warnings ( false ) // NOTE: enabling this produces a lot of warnings.
You can’t perform that action at this time.
0 commit comments