Skip to content

Instantly share code, notes, and snippets.

@AbeEstrada
Last active February 7, 2026 01:44
Show Gist options
  • Select an option

  • Save AbeEstrada/3af7fc0b4f7585efb6f87194ea675dd9 to your computer and use it in GitHub Desktop.

Select an option

Save AbeEstrada/3af7fc0b4f7585efb6f87194ea675dd9 to your computer and use it in GitHub Desktop.

How to compile

zig build -Doptimize=ReleaseFast

Requires: (Fedora) sudo dnf install gcc-c++

cargo install --path helix-term --locked && cargo clean

Requires: (macOS) brew install notmuch

CGO_CFLAGS="-I$(brew --prefix)/include" CGO_LDFLAGS="-L$(brew --prefix)/lib -Wl,-rpath,$(brew --prefix)/lib" GOFLAGS="-tags=notmuch" make

CFLAGS="$(pkg-config --cflags openssl libssh2 libbrotlidec)" LDFLAGS="$(pkg-config --libs openssl libssh2 libbrotlidec)" make && make install

gmake && gmake install

cargo +nightly build --release && mv ./target/release/tdf ~/.local/bin && cargo clean

cargo build --release

RUSTC_BOOTSTRAP=1 cargo build --config .cargo/release.toml --release

brew install gettext libsodium lua ncurses
./configure --prefix=$PREFIX --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --enable-python3interp --enable-luainterp --disable-gui --without-x
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment