Skip to content

thread 'main' has overflowed its stack when built from source #141

@SafeteeWoW

Description

@SafeteeWoW

Stylua raises error message of
thread 'main' has overflowed its stack
when formatting file https://raw.githubusercontent.com/SafeteeWoW/LibDeflate/4fd8e298c7315d47ee3cd2a9bc71e49f77f2afb0/tests/Test.lua

The commit id is e545cf0, same to the commit of 0a7b6fd, the commit of v0.8.1

My OS is Windows10, and I use Powershell as the terminal.
I build StyLua by git clone the repository and then cargo build.
Then I run .\stylua.exe inside target/debug folder.

Output of cargo --version
cargo 1.51.0 (43b129a20 2021-03-16)

However, there is no problem if I run stylua which comes from cargo install stylua --version 0.8.1

I am new to rust. Not sure why my local build behaviors differently with the package

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThis issue relies on an external factor

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions