You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compilation error on macOS 13.2.1, M2 processor #110
Trying to compile with rustc 1.68 (stable) on macOS 13.2.1 on Apple Silicon, I get the following compilation error:
error: failed to run custom build command for `typst-cli v0.0.0 (/Users/noah/Downloads/typst-22-03-21-2/cli)`
Caused by:
process didn't exit successfully: `/Users/noah/Downloads/typst-22-03-21-2/target/release/build/typst-cli-b26a6417ca33703c/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at 'byte index 8 is out of bounds of ``', cli/build.rs:7:48
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I wasn't working with a clone of the repo, but with the latest release (tagged March 21st)
A clone of the master branch from the repo actually builds fine.
On Mar 22, 2023, at 10:27 AM, CGMossa ***@***.***> wrote:
Can you run git rev-parse HEAD in your cloned repository folder and see what the output is?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Activity
CGMossa commentedon Mar 22, 2023
Can you run this with the added flag
-vvjust so I can see what is going on?ndaniels commentedon Mar 22, 2023
Sparing you all the noise; here's the last bit:
and with a backtrace enabled:
CGMossa commentedon Mar 22, 2023
Can you run
git rev-parse HEADin your cloned repository folder and see what the output is?ndaniels commentedon Mar 22, 2023
CGMossa commentedon Mar 22, 2023
Sooo... I'd consider this solved then.
ndaniels commentedon Mar 22, 2023
Yes, I'd say.