File tree Expand file tree Collapse file tree 19 files changed +54
-47
lines changed
Properties/PublishProfiles Expand file tree Collapse file tree 19 files changed +54
-47
lines changed Original file line number Diff line number Diff line change 33 "isRoot" : true ,
44 "tools" : {
55 "gitversion.tool" : {
6- "version" : " 6.4 .0" ,
6+ "version" : " 6.5 .0" ,
77 "commands" : [
88 " dotnet-gitversion"
99 ],
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
7979csharp_style_inlined_variable_declaration = true :suggestion
8080csharp_style_namespace_declarations = file_scoped:suggestion
8181csharp_style_prefer_extended_property_pattern = true :suggestion
82+ csharp_style_prefer_implicitly_typed_lambda_expression = true :suggestion
8283csharp_style_prefer_index_operator = true :suggestion
8384csharp_style_prefer_local_over_anonymous_function = true :suggestion
8485csharp_style_prefer_method_group_conversion = true :suggestion
@@ -89,6 +90,7 @@ csharp_style_prefer_primary_constructors = true:suggestion
8990csharp_style_prefer_range_operator = true :suggestion
9091csharp_style_prefer_readonly_struct = true :suggestion
9192csharp_style_prefer_readonly_struct_member = true :suggestion
93+ csharp_style_prefer_simple_property_accessors = true :suggestion
9294csharp_style_prefer_switch_expression = true :suggestion
9395csharp_style_prefer_top_level_statements = true :suggestion
9496csharp_style_prefer_tuple_swap = true :suggestion
@@ -196,6 +198,9 @@ indent_size = 2
196198[* .{json,yaml,yml} ]
197199indent_size = 2
198200
201+ [* .{diff,patch} ]
202+ indent_size = unset
203+
199204[* .sh ]
200205charset = utf-8
201206end_of_line = lf
Original file line number Diff line number Diff line change 2626* .targets text
2727
2828libc /* .c text eol =lf
29+ * .diff text eol =lf
2930* .cfg text
3031
3132* .razor text
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ jobs:
151151 - name : Test
152152 run : |
153153 dotnet test --configuration Release --no-build \
154- -p:TestingPlatformCommandLineArguments="-- report-trx --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml"
154+ -- report-trx --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml
155155
156156 - name : Package
157157 run : |
Original file line number Diff line number Diff line change 3030 with :
3131 submodules : recursive
3232
33+ - name : Patch for WASM
34+ run : |
35+ cp libc/xmss.c xmss-library/src/
36+ patch --directory=xmss-library --strip=1 < libc/wasm.diff
37+
3338 - name : Prepare packages
3439 run : |
3540 sudo apt-get update
4247 -B build
4348 -DXMSS_C99_COMPATIBLE=OFF
4449 -DCMAKE_EXE_LINKER_FLAGS="-s NODERAWFS=1"
50+ -DCMAKE_STATIC_LIBRARY_PREFIX_C=""
4551
4652 - name : Configure (pthread)
4753 run : >
5157 -DXMSS_C99_COMPATIBLE=OFF
5258 -DCMAKE_C_FLAGS="-pthread"
5359 -DCMAKE_EXE_LINKER_FLAGS="-s NODERAWFS=1"
60+ -DCMAKE_STATIC_LIBRARY_PREFIX_C=""
5461
5562 - name : Build
5663 run : cmake --build build
7380 - name : Copy artifacts
7481 run : |
7582 mkdir -p "Xmss/runtimes/${{ env.RUNTIME }}/nativeassets"
76- cp build/src/libxmss .a "Xmss/runtimes/${{ env.RUNTIME }}/nativeassets/xmss.a"
77- cp build-pthread/src/libxmss .a "Xmss/runtimes/${{ env.RUNTIME }}/nativeassets/xmss-pthread.a"
83+ cp build/src/xmss .a "Xmss/runtimes/${{ env.RUNTIME }}/nativeassets/xmss.a"
84+ cp build-pthread/src/xmss .a "Xmss/runtimes/${{ env.RUNTIME }}/nativeassets/xmss-pthread.a"
7885
7986 - name : Save runtime cache
8087 id : save-runtime-cache
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ SPDX-License-Identifier: MIT
1111 <ContinuousIntegrationBuild Condition =" '$(GITHUB_ACTIONS)' != 'true'" >false</ContinuousIntegrationBuild >
1212
1313 <!-- Use the latest .NET SDK -->
14- <MainTargetFramework >net9 .0</MainTargetFramework >
14+ <MainTargetFramework >net10 .0</MainTargetFramework >
1515
1616 <!-- Use the latest C# Language standard -->
17- <LangVersion >13 .0</LangVersion >
17+ <LangVersion >14 .0</LangVersion >
1818 <Nullable >enable</Nullable >
1919 <ImplicitUsings >enable</ImplicitUsings >
2020
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ SPDX-License-Identifier: MIT
1010 <PackageVersion Include =" Dorssel.GitVersion.MsBuild" Version =" 1.1.1" />
1111 <!-- example WebApp -->
1212 <PackageVersion Include =" Blazored.LocalStorage" Version =" 4.5.0" />
13- <PackageVersion Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 9 .0.10 " />
14- <PackageVersion Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 9 .0.10 " />
15- <PackageVersion Include =" Microsoft.FluentUI.AspNetCore.Components" Version =" 4.13.0 " />
16- <PackageVersion Include =" Microsoft.FluentUI.AspNetCore.Components.Icons" Version =" 4.13.0 " />
13+ <PackageVersion Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 10 .0.0 " />
14+ <PackageVersion Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 10 .0.0 " />
15+ <PackageVersion Include =" Microsoft.FluentUI.AspNetCore.Components" Version =" 4.13.1 " />
16+ <PackageVersion Include =" Microsoft.FluentUI.AspNetCore.Components.Icons" Version =" 4.13.1 " />
1717 </ItemGroup >
1818</Project >
Original file line number Diff line number Diff line change 88 <Found Context =" routeData" >
99 <RouteView RouteData =" @routeData" DefaultLayout =" @typeof(MainLayout)" />
1010 </Found >
11- <NotFound >
12- <PageTitle >Not found</PageTitle >
13- <LayoutView Layout =" @typeof(MainLayout)" >
14- <p role =" alert" >Sorry, there's nothing at this address.</p >
15- </LayoutView >
16- </NotFound >
1711</Router >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
1919 <WebPublishMethod >FileSystem</WebPublishMethod >
2020 <_TargetId >Folder</_TargetId >
2121 <SiteUrlToLaunchAfterPublish />
22- <TargetFramework >net9 .0</TargetFramework >
22+ <TargetFramework >net10 .0</TargetFramework >
2323 <RuntimeIdentifier >browser-wasm</RuntimeIdentifier >
2424 <RunAOTCompilation >true</RunAOTCompilation >
2525 <ProjectGuid >06165be7-c274-4cd4-ad9a-8bd4f3423b8d</ProjectGuid >
Original file line number Diff line number Diff line change 33// SPDX-License-Identifier: MIT
44
55using System . Runtime . CompilerServices ;
6+ using System . Runtime . InteropServices ;
67
78[ assembly: DisableRuntimeMarshalling ]
89[ assembly: InternalsVisibleTo ( "Internal.UnitTests" ) ]
10+ [ assembly: DefaultDllImportSearchPaths ( DllImportSearchPath . SafeDirectories ) ]
You can’t perform that action at this time.
0 commit comments