Skip to content

Commit 8642412

Browse files
committed
Update libc and activate align feature
1 parent 54628c8 commit 8642412

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/liblibc

Submodule liblibc updated 48 files

src/libstd/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ alloc_system = { path = "../liballoc_system" }
1919
panic_unwind = { path = "../libpanic_unwind", optional = true }
2020
panic_abort = { path = "../libpanic_abort" }
2121
core = { path = "../libcore" }
22-
libc = { path = "../rustc/libc_shim" }
22+
libc = { path = "../rustc/libc_shim", features = ["align"] }
2323
compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
2424
profiler_builtins = { path = "../libprofiler_builtins", optional = true }
2525
std_unicode = { path = "../libstd_unicode" }

src/rustc/libc_shim/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ compiler_builtins = { path = "../compiler_builtins_shim" }
3737
# outside rustc. See https://github.com/rust-lang/libc/search?l=Rust&q=stdbuild&type=&utf8=%E2%9C%93.
3838
stdbuild = []
3939
default = ["stdbuild"]
40+
align = []

0 commit comments

Comments
 (0)