Skip to content

Commit 9e9d61c

Browse files
committed
update to vex-sdk 0.23.0
0.23.0 most notably removes uses of `#[no_mangle]` from symbols in `vex-sdk` to avoid conflicts with other versions of the crate. Symbols were originally `#[no_mangle]` for the purposes of compiling to a C static library, but this never ended up being useful and would be actively harmful to include in `libstd`.
1 parent 4ada610 commit 9e9d61c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

library/Cargo.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ dependencies = [
404404

405405
[[package]]
406406
name = "vex-sdk"
407-
version = "0.22.0"
407+
version = "0.23.0"
408408
source = "registry+https://github.com/rust-lang/crates.io-index"
409-
checksum = "40b1777b4e4a60f9fed09417dafdc4a6a3393a67df1bd02c3b589770d906cff3"
409+
checksum = "cddff1d9785c5e35e031340c0a24afbeb911a654f99fec062c5ec94281c189ed"
410410
dependencies = [
411411
"compiler_builtins",
412412
"rustc-std-workspace-core",

library/std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ r-efi = { version = "4.5.0", features = ['rustc-dep-of-std'] }
8686
r-efi-alloc = { version = "1.0.0", features = ['rustc-dep-of-std'] }
8787

8888
[target.'cfg(target_os = "vexos")'.dependencies]
89-
vex-sdk = { version = "0.22.0", features = ['rustc-dep-of-std'] }
89+
vex-sdk = { version = "0.23.0", features = ['rustc-dep-of-std'] }
9090

9191
[features]
9292
backtrace = [

library/std/src/sys/pal/vexos/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,16 @@ pub fn abort_internal() -> ! {
107107
// Force the serial buffer to flush
108108
while exit_time.elapsed() < FLUSH_TIMEOUT {
109109
vex_sdk::vexTasksRun();
110-
110+
111111
// If the buffer has been fully flushed, exit the loop
112112
if vex_sdk::vexSerialWriteFree(stdio::STDIO_CHANNEL) == (stdio::STDOUT_BUF_SIZE as i32)
113113
{
114114
break;
115115
}
116116
}
117-
117+
118118
vex_sdk::vexSystemExitRequest();
119-
119+
120120
loop {
121121
vex_sdk::vexTasksRun();
122122
}

0 commit comments

Comments
 (0)