Skip to content

Conversation

@vargaz
Copy link
Contributor

@vargaz vargaz commented Dec 10, 2023

… so it can be shared with wasi.

@vargaz
Copy link
Contributor Author

vargaz commented Dec 10, 2023

/azp run runtime-wasm

@ghost ghost assigned vargaz Dec 10, 2023
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Dec 10, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Dec 10, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Dec 10, 2023

The WasmBuildTests failures are relevant.

@vargaz
Copy link
Contributor Author

vargaz commented Dec 11, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@pavelsavara pavelsavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the C part. The build changes would be good to coordinate with #95775

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could kill this together with mono_wasm_enable_on_demand_gc. It's just internal and always on, AFAIK. Doesn't have to be on this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its part of the api right now.

@pavelsavara
Copy link
Member

In src\mono\wasm\Wasm.Build.Tests\NativeRebuildTests\ReferenceNewAssemblyRebuildTest.cs line 55 there are expectations on which file was touched during native rebuild.

Log

My guess is that you need to add the new file to

Path.Combine(paths.BinDir, "publish", $"{buildArgs.ProjectName}.dll"),
Path.Combine(paths.ObjWasmDir, "driver.o"),
Path.Combine(paths.ObjWasmDir, "corebindings.o"),
Path.Combine(paths.ObjWasmDir, "pinvoke.o"),
Path.Combine(paths.ObjWasmDir, "icall-table.h"),
Path.Combine(paths.ObjWasmDir, "pinvoke-table.h"),
Path.Combine(paths.ObjWasmDir, "driver-gen.c"),
Path.Combine(paths.BundleDir, "_framework", "dotnet.native.wasm"),
Path.Combine(paths.BundleDir, "_framework", "dotnet.native.js"),

cc @radical

@pavelsavara pavelsavara added this to the 9.0.0 milestone Dec 11, 2023
@pavelsavara pavelsavara added the arch-wasm WebAssembly architecture label Dec 11, 2023
@ghost
Copy link

ghost commented Dec 11, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

… so it can be shared with wasi.

Author: vargaz
Assignees: vargaz
Labels:

arch-wasm, area-Build-mono

Milestone: 9.0.0

@vargaz
Copy link
Contributor Author

vargaz commented Dec 11, 2023

In src\mono\wasm\Wasm.Build.Tests\NativeRebuildTests\ReferenceNewAssemblyRebuildTest.cs line 55 there are expectations on which file was touched during native rebuild.

Log

My guess is that you need to add the new file to

Path.Combine(paths.BinDir, "publish", $"{buildArgs.ProjectName}.dll"),
Path.Combine(paths.ObjWasmDir, "driver.o"),
Path.Combine(paths.ObjWasmDir, "corebindings.o"),
Path.Combine(paths.ObjWasmDir, "pinvoke.o"),
Path.Combine(paths.ObjWasmDir, "icall-table.h"),
Path.Combine(paths.ObjWasmDir, "pinvoke-table.h"),
Path.Combine(paths.ObjWasmDir, "driver-gen.c"),
Path.Combine(paths.BundleDir, "_framework", "dotnet.native.wasm"),
Path.Combine(paths.BundleDir, "_framework", "dotnet.native.js"),

cc @radical

Its added, the error complains that driver.o was rebuilt/not rebuilt.

@radical
Copy link
Member

radical commented Dec 11, 2023

@vargaz my PR has merged

@vargaz vargaz force-pushed the wasm-common branch 2 times, most recently from 322edae to 4a0cc88 Compare December 12, 2023 02:35
@vargaz vargaz merged commit d636522 into dotnet:main Dec 12, 2023
@vargaz vargaz deleted the wasm-common branch December 12, 2023 17:57
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Build-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants