Use cargo's 'build-std=core,alloc' instead.
Also: Cargo is now given the complete path to the target specific JSON file.
This forces the use of the JSON file (the file is silently ignored if
the target in question was built into the rust compiler).
- Compile time changes
- Compile libkernel.a with debug info
- Copy debug info to kernel.sym
- Strip the kernel of debug symbols
- Workflow changes
- Add `debug` option to `make qemu`
macOS again.
Details
- We are using the toolchain compiler and archiver in order
to generate a proper ELF file when building the 'raw-cpuid'
crate C code which is currently being compiled by the macOS
toolchain.
- I added the 'findutils' and 'coreutils' Homebrew/MacPorts
packages to the bootstrap script in order to setup the proper
environment for the cookbook scripts (as the assume GNU tools).
This should be temporary until the cookbook scripts get migrated
to Rust.