File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
source/ports/rs_port/src/types Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- os : [ubuntu-latest, macos-latest] # TODO: windows-latest
25
+ os : [ubuntu-latest, macos-latest, windows-latest]
26
26
steps :
27
27
- name : Check out the repo
28
28
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -162,10 +162,10 @@ impl MetaCallValue for i64 {
162
162
fn from_metacall_raw_leak ( v : * mut c_void ) -> Result < Self , Box < dyn MetaCallValue > > {
163
163
let value = unsafe { metacall_value_to_long ( v) } ;
164
164
165
- Ok ( value)
165
+ Ok ( value as i64 )
166
166
}
167
167
fn into_metacall_raw ( self ) -> * mut c_void {
168
- unsafe { metacall_value_create_long ( self ) }
168
+ unsafe { metacall_value_create_long ( self . try_into ( ) . unwrap ( ) ) }
169
169
}
170
170
}
171
171
/// Equivalent to MetaCall float type.
You can’t perform that action at this time.
0 commit comments