rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
256 stars 25 forks source link

What is the purpose of `memcpy` field in `Config` struct? #102

Closed vita-dounai closed 2 years ago

vita-dounai commented 3 years ago

The declaration is located at https://github.com/rust-osdev/cargo-xbuild/blob/f6ce1e5da41ad68951657a87abd2e034de611eb1/src/config.rs#L15

phil-opp commented 3 years ago

See https://github.com/rust-osdev/cargo-xbuild#configuration:

The memcpy flag defines whether the mem feature of the compiler_builtins crate should be activated. Turning this flag off allows to specify own versions of the memcpy, memset etc. functions.