Skip to content
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

carton dev hosts resources without build directory prefix #88

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

kateinoigakukun
Copy link
Collaborator

No description provided.

@omochi
Copy link
Owner

omochi commented Apr 25, 2024

後日確認します、週明けになっちゃうかも

確認方法メモ↓
https://discord.com/channels/291054398077927425/383442648012423179/1233076141875527711

@omochi
Copy link
Owner

omochi commented Apr 26, 2024

変更内容は明らかに良さそうなのでマージします。


こちらの環境では $ swift package --experimental-swift-sdk DEVELOPMENT-SNAPSHOT-2024-04-03-a-wasm carton-dev がそもそも成功しなかったので、パッチの内容を検証できませんでした。

どうやら carton が ホームディレクトリを触るがプラグインモードによってブロックされた模様。

[156/159] Compiling TicTacToe resource_bundle_accessor.swift
<unknown>:0: warning: libc not found for 'wasm32-unknown-wasi'; C stdlib may be unavailable
<unknown>:0: warning: libc not found for 'wasm32-unknown-wasi'; C stdlib may be unavailable
[157/160] Wrapping AST for TicTacToe for debugging
[158/160] Write Objects.LinkFileList
warning: Could not read SDKSettings.json for SDK at: /Users/omochi/Library/org.swift.swiftpm/swift-sdks/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-04-03-a-macos_arm64.artifactbundle/DEVELOPMENT-SNAPSHOT-2024-04-03-a-wasm/wasm32-unknown-wasi/WASI.sdk
[159/160] Linking TicTacToe.wasm
Build of product 'TicTacToe' complete! (7.18s)
Directory doesn't exist or contains outdated polyfills: /Users/omochi/.carton/static
Error: “static” couldn’t be removed because you don’t have permission to access it.
error: Plugin ended with exit code 1
[omochi@omochi-mbp CartonExample (main =)

@omochi omochi merged commit db6291d into main Apr 26, 2024
@omochi omochi deleted the katei/fix-css-path branch April 26, 2024 13:18
@omochi
Copy link
Owner

omochi commented Apr 26, 2024

ありがとうございました

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants