-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Split debug and release Rust compilation. #1202
Conversation
</Target> | ||
|
||
<ItemGroup> | ||
<Content Include="$(MSBuildThisFileDirectory)target/release/libglide_rs.dll" Condition="$([MSBuild]::IsOSPlatform('Windows'))"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use path
csharp/lib/glide.csproj
Outdated
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<Link>%(FileName)%(Extension)</Link> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)target/release/libglide_rs.so" Condition="$([MSBuild]::IsOSPlatform('Linux')) And '$(Configuration)' == 'Release'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could use
csharp/lib/glide.csproj
Outdated
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<Link>%(FileName)%(Extension)</Link> | ||
</Content> | ||
<Content Include="$(MSBuildThisFileDirectory)target/release/libglide_rs.dylib" Condition="$([MSBuild]::IsOSPlatform('OSX')) And '$(Configuration)' == 'Release'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could use
Before this change, Rust was always compiled in release mode. This allows tests to compile in debug mode, which cuts the compilation time from ~1:20 minutes to 0:30.
Before this change, Rust was always compiled in release mode. This allows tests to compile in debug mode, which cuts the compilation time from ~1:20 minutes to 0:30.
Before this change, Rust was always compiled in release mode. This allows tests to compile in debug mode, which cuts the compilation time from ~1:20 minutes to 0:30.
Before this change, Rust was always compiled in release mode. This allows tests to compile in debug mode, which cuts the compilation time from ~1:20 minutes to 0:30.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.