Skip to content

Commit bc00399

Browse files
authored
bump version to 0.1.4 (#17)
1 parent d3b91fd commit bc00399

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dadk"
33
authors = ["longjin <longjin@DragonOS.org>", "chikejian <chikejian@DragonOS.org>"]
4-
version = "0.1.3"
4+
version = "0.1.4"
55
edition = "2021"
66
description = "DragonOS Application Development Kit\nDragonOS应用开发工具"
77
license = "GPL-2.0-only"
@@ -23,5 +23,5 @@ regex = "1.9.1"
2323
reqwest = { version = "0.11", features = ["blocking", "json"] }
2424
serde = { version = "1.0.160", features = ["serde_derive"] }
2525
serde_json = "1.0.96"
26-
simple_logger = "4.1.0"
26+
simple_logger = { version = "4.1.0", features = ["stderr"] }
2727
zip = "0.6"

src/executor/mod.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,12 @@ impl Executor {
348348
.add(EnvVar::new(tv.key().to_string(), tv.value().to_string()));
349349
}
350350

351+
// 添加`DADK_CURRENT_BUILD_DIR`环境变量,便于构建脚本把构建结果拷贝到这里
352+
self.local_envs.add(EnvVar::new(
353+
"DADK_CURRENT_BUILD_DIR".to_string(),
354+
self.build_dir.path.to_str().unwrap().to_string(),
355+
));
356+
351357
return Ok(());
352358
}
353359

@@ -548,11 +554,6 @@ pub fn prepare_env(sched_entities: &SchedEntities) -> Result<(), ExecutorError>
548554
build_dir_key,
549555
build_dir.to_str().unwrap().to_string(),
550556
));
551-
// 添加`DADK_CURRENT_BUILD_DIR`环境变量,便于构建脚本把构建结果拷贝到这里
552-
env_list.add(EnvVar::new(
553-
"DADK_CURRENT_BUILD_DIR".to_string(),
554-
build_dir.to_str().unwrap().to_string(),
555-
));
556557

557558
// 如果需要源码缓存目录,则导出
558559
if CacheDir::need_source_cache(entity) {

src/scheduler/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ impl Scheduler {
509509
mut count: usize,
510510
r: &Vec<Arc<SchedEntity>>,
511511
) {
512-
log::warn!("daemon");
513512
let mut guard = TASK_DEQUE.lock().unwrap();
514513
// 初始化0入度的任务实体
515514
let mut zero_entity: Vec<Arc<SchedEntity>> = Vec::new();

0 commit comments

Comments
 (0)