@tokamakdev/platform-windows-x64 0.1.1-beta.120 → 0.1.1-beta.125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokamakdev/platform-windows-x64",
3
- "version": "0.1.1-beta.120",
3
+ "version": "0.1.1-beta.125",
4
4
  "description": "The tokamak platform pack for windows-x64",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,14 +42,15 @@ function Use-MicrosoftLinker {
42
42
  }
43
43
 
44
44
  # Link the shell and runtime into the app's executable, exporting the entry
45
- # points of the runtime parts the app links.
45
+ # points of the runtime parts the app links. The executable links libraries
46
+ # alone, which LNK4001 reports, so the linker needs its machine named.
46
47
  function Invoke-RuntimeLink([string] $Executable) {
47
48
  Use-MicrosoftLinker
48
49
  $runtime = Join-Path $pack "lib/TokamakRuntime"
49
50
  $libraries = [System.IO.File]::ReadAllText((Join-Path $runtime "link-libraries")).Trim() -split '\s+'
50
51
  $exports = @([System.IO.File]::ReadAllLines((Join-Path $InputDirectory "metadata/exported-symbols")) | ForEach-Object { "/EXPORT:$_" })
51
52
  $importLibrary = Join-Path $InputDirectory "runtime.lib"
52
- & link.exe /NOLOGO "/OUT:$Executable" /SUBSYSTEM:WINDOWS /ENTRY:wWinMainCRTStartup /OPT:REF /OPT:ICF /INCREMENTAL:NO /NXCOMPAT /DYNAMICBASE /HIGHENTROPYVA "/IMPLIB:$importLibrary" (Join-Path $runtime "tokamak.lib") @libraries @exports
53
+ & link.exe /NOLOGO /MACHINE:X64 /IGNORE:4001 "/OUT:$Executable" /SUBSYSTEM:WINDOWS /ENTRY:wWinMainCRTStartup /OPT:REF /OPT:ICF /INCREMENTAL:NO /NXCOMPAT /DYNAMICBASE /HIGHENTROPYVA "/IMPLIB:$importLibrary" (Join-Path $runtime "tokamak.lib") @libraries @exports
53
54
  if ($LASTEXITCODE -ne 0) {
54
55
  throw "linking the tokamak runtime failed with status $LASTEXITCODE"
55
56
  }
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/windows-x64/lib/TokamakRuntime/tokamak.lib
3
- size: 43070588 bytes
4
- sha256: 7e2d0b10b165fe9c0e0f0b929126156783ea9af4f607dc67bc55dcc1d74ac84e
3
+ size: 43070892 bytes
4
+ sha256: f1528cc86d4459bba353051d1c77b5751263a460a17dd8753a47fe7146ae41fe