Skip to content

Commit

Permalink
try i8
Browse files Browse the repository at this point in the history
  • Loading branch information
vobradovich committed Nov 7, 2024
1 parent aa1aa71 commit bdf2ce0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions net/src/Sails.ClientGenerator/Sails.ClientGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<Description>Code generator for Sails.Net.</Description>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down Expand Up @@ -42,7 +42,7 @@
<None Include="../../../target/release/libsails_client_gen_dotnet.so" Condition="$([MSBuild]::IsOSPlatform('Linux')) and Exists('../../../target/release/libsails_client_gen_dotnet.so')">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="../../../target/release/libsails_client_gen_dotnet.dylib" Condition="$([MSBuild]::IsOSPlatform('macOS')) and Exists('../../../target/release/libsails_client_gen_dotnet.dylib')">
<None Include="../../../target/release/libsails_client_gen_dotnet.dylib" Condition="$([MSBuild]::IsOSPlatform('OSX')) and Exists('../../../target/release/libsails_client_gen_dotnet.dylib')">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion rs/idl-parser/src/ffi/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub unsafe extern "C" fn free_parse_result(result: *mut ParseResult) {
unsafe {
let result = Box::from_raw(result);
if result.error.code != ErrorCode::Ok {
let details = CString::from_raw(result.error.details as *mut std::ffi::c_char);
let details = CString::from_raw(result.error.details as *mut i8);
drop(details);
}
}
Expand Down

0 comments on commit bdf2ce0

Please sign in to comment.