Skip to content

Commit 01bbfa5

Browse files
committed
fix: remove nightly requirement for Rust toolchain; update README to reflect Rust version 1.85+
1 parent 1f13493 commit 01bbfa5

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ jobs:
137137
tail -f /dev/null
138138
docker exec alpine sh -c "apk update && apk add --no-cache git gcc make sqlite musl-dev linux-headers rust cargo bash curl pkgconf openssl-dev nodejs npm"
139139
140-
- name: setup rust nightly
141-
if: matrix.name != 'linux-musl'
142-
uses: dtolnay/rust-toolchain@nightly
143-
144140
- name: windows install dependencies
145141
if: matrix.name == 'windows'
146142
run: choco install sqlite -y

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ MAKEFLAGS += -j$(CPUS)
3333
# Compiler and flags
3434
CC = gcc
3535
CARGO_ENV = CARGO_TARGET_DIR=$(RUST_TARGET_DIR)
36-
CARGO = $(CARGO_ENV) cargo +nightly
36+
CARGO = $(CARGO_ENV) cargo
3737
CFLAGS = -Wall -Wextra -Wno-unused-parameter -I$(SRC_DIR) -I$(LIBS_DIR)
3838

3939
# Directories
@@ -73,7 +73,7 @@ else ifeq ($(PLATFORM),macos)
7373
LDFLAGS += -dynamiclib -undefined dynamic_lookup -headerpad_max_install_names -mmacosx-version-min=$(MACOS_MIN_VERSION)
7474
CFLAGS += -mmacosx-version-min=$(MACOS_MIN_VERSION)
7575
CARGO_ENV += MACOSX_DEPLOYMENT_TARGET=$(MACOS_MIN_VERSION)
76-
CARGO = $(CARGO_ENV) cargo +nightly
76+
CARGO = $(CARGO_ENV) cargo
7777
STRIP = strip -x -S $@
7878
LIBS = -lmcp_ffi -framework CoreFoundation -framework Security -lresolv
7979
TEST_LIBS = -lpthread -ldl -lm

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ See [API.md](API.md) for complete API documentation with examples.
5252

5353
### Requirements
5454

55-
- **Rust**: Nightly toolchain (`rustup default nightly`)
55+
- **Rust**: 1.85+ toolchain
5656
- **C Compiler**: gcc or clang
5757
- **Make**: GNU Make
5858

0 commit comments

Comments
 (0)