indygreg / indygreg/PyOxidizer

Not Building on Windows 10

Open
#110 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Compile Error on Windows 10 (Latest) with rustc 1.31.0 (abe02cefd 2018-12-04)

It links to the percent-encoding package ... maybe because of version 2?

error: local variables in const fn are unstable
--> C:\Users\andre\.cargo\registry\src\github.com-1ecc6299db9ec823\percent-encoding-``2.0.0\lib.rs:72:13
 |
72 |         let chunk = self.mask[byte as usize / BITS_PER_CHUNK];
 |             ^^^^^

error: aborting due to previous error

error: Could not compile `percent-encoding`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `pyoxidizer v0.2.0`, intermediate artifacts can be found at `C:\Users\andre\AppData\Local\Temp\cargo-installQd2huz`

Caused by:
build failed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report identifies a Windows 10 build failure with rustc 1.31.0 while compiling percent-encoding v2.0.0; start by reproducing it with that toolchain and inspecting dependency resolution. Confirm the compatibility fix by completing a PyOxidizer build on Windows 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.