File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
RELEASE_DIR: =release
2
2
DEBUG_DIR: =debug
3
3
4
- # BACKEND_WINDOWS32_RUST_FLAGS:=--remap-path-prefix ${HOME}=/foo -Ctarget-feature=+crt-static
5
- BACKEND_WINDOWS64_RUST_FLAGS: =--remap-path-prefix ${HOME}=/foo -Ctarget-feature=+crt-static
4
+ # BACKEND_WINDOWS32_RUST_FLAGS:=--remap-path-prefix ${HOME}=/foo -Ctarget-feature=+crt-static -Zlocation-detail=none
5
+ BACKEND_WINDOWS64_RUST_FLAGS: =--remap-path-prefix ${HOME}=/foo -Ctarget-feature=+crt-static -Zlocation-detail=none
6
6
# BACKEND_WINDOWS32_BUILD_FLAGS:=-Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort
7
7
BACKEND_WINDOWS64_BUILD_FLAGS: =-Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort
8
8
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ debug = false
35
35
strip = true
36
36
lto = true
37
37
panic = " abort"
38
+ codegen-units = 1
38
39
39
40
[features ]
40
41
log = [ " common/log" , " dep:log" ]
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ pub extern "system" fn Main() {
234
234
235
235
#[ no_mangle]
236
236
#[ allow( non_snake_case, unused_variables, clippy:: missing_safety_doc) ]
237
- pub unsafe extern "system" fn DllMain (
237
+ pub extern "system" fn DllMain (
238
238
dll_module : ws:: Win32 :: Foundation :: HINSTANCE ,
239
239
call_reason : u32 ,
240
240
_reserverd : * mut ffi:: c_void ,
You can’t perform that action at this time.
0 commit comments