ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.6k stars 970 forks source link

[Bug]: rust installed via scoop causes error with webview2-com-sys crate building tauri application #4509

Closed 4x0v7 closed 1 year ago

4x0v7 commented 1 year ago

Prerequisites

Package Name

rust

Expected/Current Behaviour

https://github.com/tauri-apps/tauri/issues/4124

Steps to Reproduce

Install rust via scoop.
Install node via scoop.
Install tauri via `npm i -g @tauri-apps/cli`

PS> tauri --version
tauri-cli 1.2.3

In a tauri application, run `tauri build`
Get the error.

Found the solution via https://github.com/tauri-apps/tauri/issues/4124#issuecomment-1126677583

Possible Solution

Unsure of what might fix this. Installing rust via rustup does not have this issue.

Scoop and Buckets Version

PS> scoop --version
PowerShell version: 7.3.2
Useragent: Shovel/1.0 (+https://shovel.ash258.com) PowerShell/7.3 (Windows NT 10.0.19045.0; Win64; x64;)
Current Scoop (Shovel) version:
52fe1646 (HEAD -> main, origin/master, origin/main, origin/HEAD, master) fix(Diagnostic): Better handling of migrated repos

'404NetworkError' bucket:
457a694 (HEAD -> main, origin/main, origin/HEAD) vmware-macos-unlocker: Update to version 4.2.6

'Base' bucket:
721e37d (HEAD -> main, origin/main, origin/HEAD) oh-my-posh: Update to version 14.10.1

'codefresh' bucket:
e8e2334 (HEAD -> main, tag: v0.1.36, origin/main, origin/HEAD) cf: Update to version 0.1.36

'extras' bucket:
75705b407 (HEAD -> master, origin/master, origin/HEAD) twitchdownloader: Update to version 1.52.0

'java' bucket:
4cd702bd (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.372-4.0.202303031825

'JetBrains' bucket:
d6789cc6 (HEAD -> main, origin/main, origin/HEAD) GoLand-EAP: Update to version 2023.1-231.7864.78

'kubetools' bucket:
c6fea02 (HEAD -> main) Merge branch 'main' of https://github.com/4x0v7/kube-scoop

'main' bucket:
50795b1a9 (HEAD -> master, origin/master, origin/HEAD) marksman: Update to version 2023-03-04

'nirsoft-alternative' bucket:
a0b4d86 (HEAD -> master, origin/master, origin/HEAD) Update url list [ci skip]

'nonportable' bucket:
13ab6fc (HEAD -> master, origin/master, origin/HEAD) powertoys-np: Update to version 0.68.0

'php' bucket:
86d53b7 (HEAD -> master, origin/master, origin/HEAD) php8.1: Update to version 8.1.16

'smallstep' bucket:
5aba8c4 (HEAD -> master, origin/master, origin/HEAD) Scoop update for step version v0.23.3

'sysinternals' bucket:
23405d3 (HEAD -> main, origin/main, origin/HEAD) Appveyor [Shovel skip] [ci skip]

'tilt-dev' bucket:
e38ddd2 (HEAD -> master, origin/master, origin/HEAD) Scoop update for ctlptl version v0.8.17

'versions' bucket:
f9c55cd89 (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.11.0-dev.1855

'vsredist' bucket:
fe6a053 (HEAD -> main, origin/main, origin/HEAD) Update mainline version

'wsl' bucket:
9689ba6 (HEAD -> master, origin/master, origin/HEAD) resolves issue #4

Scoop Config

PS> scoop config
{
  "lastupdate": "258|2023-03-05 10:28:51",
  "SCOOP_REPO": "https://github.com/Ash258/Scoop-Core",
  "SCOOP_BRANCH": "main",
  "alias": {
    "u": "scoop-u"
  }
}

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.2
PSEdition                      Core
GitCommitId                    7.3.2
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion

Additional Softwares

No response

rashil2000 commented 1 year ago

This is related to upstream Rust compiler, nothing Scoop can do about it.