File tree 3 files changed +8
-11
lines changed
3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ impl<E: ModuleExportsForHost> Module<E> {
61
61
let library = self . library . take ( ) ;
62
62
let handle = WindowsLibrary :: from ( library) . into_raw ( ) ;
63
63
64
- // TODO: is it needed if dbg help remove module will be moved?
65
64
// re-initializing self.library because windows_dealloc::set
66
65
// takes module instance by value
67
66
// (shouldn't be expensive, just looks weird)
@@ -80,8 +79,6 @@ impl<E: ModuleExportsForHost> Module<E> {
80
79
windows_dealloc:: successfully_called( ) ,
81
80
"windows dealloc callback must be called in library.close()"
82
81
) ;
83
-
84
- // dbghelp::refresh_modules(dbghelp);
85
82
}
86
83
87
84
// final unload check
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ pub fn main() {
14
14
15
15
build_debug ( ) ;
16
16
run_host ( "debug" ) ;
17
- // reset_iteration();
17
+ reset_iteration ( ) ;
18
18
19
- // build_release();
20
- // run_host("release");
19
+ build_release ( ) ;
20
+ run_host ( "release" ) ;
21
21
}
22
22
23
23
fn run_host ( directory : & str ) {
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ const TEST_FEATURES: &[&str] = &[
26
26
] ;
27
27
28
28
fn main ( ) {
29
- // test_features("debug");
30
- // test_features("release");
29
+ test_features ( "debug" ) ;
30
+ test_features ( "release" ) ;
31
31
32
- // multiple_modules::main();
32
+ multiple_modules:: main ( ) ;
33
33
code_change:: main ( ) ;
34
- // panic_in_interface_host::main();
34
+ panic_in_interface_host:: main ( ) ;
35
35
36
- // backtrace_unloading_host_as_dylib::main();
36
+ backtrace_unloading_host_as_dylib:: main ( ) ;
37
37
38
38
println ! ( ) ;
39
39
println ! ( ) ;
You can’t perform that action at this time.
0 commit comments