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 2222 strategy :
2323 fail-fast : false
2424 matrix :
25- os : [ubuntu-latest, macos-latest] # TODO: windows-latest
25+ os : [ubuntu-latest, macos-latest, windows-latest]
2626 steps :
2727 - name : Check out the repo
2828 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -162,10 +162,10 @@ impl MetaCallValue for i64 {
162162 fn from_metacall_raw_leak ( v : * mut c_void ) -> Result < Self , Box < dyn MetaCallValue > > {
163163 let value = unsafe { metacall_value_to_long ( v) } ;
164164
165- Ok ( value)
165+ Ok ( value as i64 )
166166 }
167167 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 ( ) ) }
169169 }
170170}
171171/// Equivalent to MetaCall float type.
You can’t perform that action at this time.
0 commit comments