Skip to content

linruohan/mytool-gpui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mytool-GPUI

toolchain

x86_64-pc-windows-gnu

gcc 1.15 编译问题

  1. syntect: 改为使用rust实现的正则
syntect = { version = "5.2", default-features = false, features = [
    "default-fancy",
] }
  1. gpui.rc问题 回退Msys2到13.2.0
# 下载旧版本包
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-13.2.0-1-any.pkg.tar.zst
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-libs-13.2.0-1-any.pkg.tar.zst

# 强制降级
pacman -U --nodeps --force mingw-w64-x86_64-gcc-13.2.0-1-any.pkg.tar.zst
pacman -U --nodeps --force mingw-w64-x86_64-gcc-libs-13.2.0-1-any.pkg.tar.zst

# 锁定版本
echo "IgnorePkg = mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-libs" >> /etc/pacman.conf

批量修复

### 删除未使用的依赖项
cargo install cargo-machete && cargo machete
### 格式化
cargo fmt --all && cargo clippy --fix --allow-dirty --allow-staged

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages