瀏覽代碼

Merge branch 'patch-systemctl' of github.com:GnoCiYeH/DragonReach into HEAD

GnoCiYeH 1 年之前
父節點
當前提交
123441a9cc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -10,7 +10,7 @@ all: build
 
 build:
 	@$(MAKE) -C ./systemctl build
-	cargo -Z build-std=core,alloc,compiler_builtins build --target ./x86_64-unknown-dragonos.json --release
+	cargo +nightly-2023-08-15 -Z build-std=core,alloc,compiler_builtins build --target ./x86_64-unknown-dragonos.json --release
 
 install:
 	mkdir -p $(TMP_INSTALL_DIR)
@@ -21,7 +21,7 @@ install:
 
 	cp ./parse_test/shell.service $(REACH_ETC_DIR)/system/shell.service
 
-	cargo -Z build-std=core,alloc,compiler_builtins install --target $(TARGET) --path .  --root $(TMP_INSTALL_DIR)
+	cargo +nightly-2023-08-15 -Z build-std=core,alloc,compiler_builtins install --target $(TARGET) --path .  --root $(TMP_INSTALL_DIR)
 	mv $(TMP_INSTALL_DIR)/bin/DragonReach $(REACH_BIN_DIR)/DragonReach
 	
 	cargo -Z build-std=core,alloc,compiler_builtins install --target $(TARGET) --path ./systemctl  --root $(TMP_INSTALL_DIR)