Fix dev.js `setInsance` typo, update hashes
This commit is contained in:
parent
c0000cff8e
commit
c12c02e9c4
|
@ -41,8 +41,8 @@ func processDataOutput(_ arguments: [String]) throws -> [UInt8] {
|
|||
private let dependency = Dependency(
|
||||
fileName: "dev.js",
|
||||
sha256: ByteString([
|
||||
0xFE, 0x33, 0x13, 0x2F, 0x26, 0xAC, 0x54, 0xAF, 0x2F, 0xF4, 0x56, 0xF3, 0xD2, 0xEB, 0x20, 0x65,
|
||||
0xEB, 0x58, 0xE7, 0x82, 0xA9, 0x1C, 0x0C, 0xAC, 0xF3, 0xC1, 0x4B, 0xFF, 0x4C, 0xAE, 0x08, 0x9E,
|
||||
0x31, 0x76, 0x46, 0x48, 0x95, 0x76, 0x2B, 0xF0, 0x56, 0x8C, 0xE6, 0x62, 0x9F, 0x82, 0x57, 0x08,
|
||||
0x43, 0x25, 0x9A, 0xB3, 0xD6, 0xD1, 0x4C, 0x9E, 0x51, 0x17, 0x1A, 0x4F, 0x9E, 0x1C, 0x94, 0x41,
|
||||
])
|
||||
)
|
||||
|
||||
|
|
|
@ -18,11 +18,11 @@ import TSCBasic
|
|||
import TSCUtility
|
||||
|
||||
private let archiveHash = ByteString([
|
||||
0xE2, 0x7D, 0x9C, 0xA0, 0x5E, 0xE4, 0xE6, 0x69, 0x05, 0xDE, 0x34, 0x09, 0xBA, 0x01, 0x94, 0xD5,
|
||||
0x25, 0x64, 0x7E, 0xC3, 0xD6, 0xF1, 0x3A, 0x2C, 0x33, 0x1A, 0xBE, 0x03, 0x20, 0x59, 0xCA, 0x5E,
|
||||
0xC7, 0x0E, 0x1B, 0x68, 0xDE, 0x8B, 0x48, 0x00, 0xFF, 0xEB, 0x51, 0x6B, 0xA4, 0xC2, 0xC0, 0xBD,
|
||||
0x7D, 0x9B, 0x42, 0x83, 0xBD, 0x9A, 0x23, 0x02, 0x3C, 0xC1, 0xC3, 0x74, 0x84, 0x77, 0xAB, 0xD0,
|
||||
])
|
||||
|
||||
private let archiveURL = "https://github.com/swiftwasm/carton/releases/download/0.1.2/static.zip"
|
||||
private let archiveURL = "https://github.com/swiftwasm/carton/releases/download/0.1.3/static.zip"
|
||||
|
||||
private let verifyHash = Equality<ByteString, String> {
|
||||
"""
|
||||
|
|
|
@ -53,7 +53,7 @@ const startWasiTask = async () => {
|
|||
javascript_kit: swift.importObjects(),
|
||||
});
|
||||
|
||||
swift.setInsance(instance);
|
||||
swift.setInstance(instance);
|
||||
// Start the WebAssembly WASI instance
|
||||
wasi.start(instance);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue