-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include precompiled core in rust-mos releases #19
Comments
It looks like core is unable to build, using the latest docker image (or the stable tag) at least.
The rust file attempting to build is here: #![no_main]
#![no_std]
use core::panic::PanicInfo;
// This is the most basic banic handler you can have.
#[panic_handler]
fn panic(_panic: &PanicInfo<'_>) -> ! {
loop {}
} Also I could be using a feature that doesn't work. I'm not quite sure. |
Try to enable lto:
https://doc.rust-lang.org/cargo/reference/profiles.html#lto
|
Thanks for the quick response, lto didn't seem to change anything. (tried both dev and release) Same error. I'm guessing that warning is relevant, but have no idea where it's coming from. I've been deleting the Here's the full output:
Here's the cargo.toml, maybe I'm missing something there. [package]
name = "hello_mos"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[profile.dev]
lto = true
[profile.release]
lto = true |
thanks, trying to reproduce it locally |
I'm not able to reproduce it, I succesfully built two projects with
so much newer version than in your logs. Also, try to build https://github.com/mrk-its/rust-mos-hello-world/ or https://github.com/mrk-its/aoc2022 (follow README for build instructions, I recommend vscode devcontainer) Finally, do not use |
Oh yep, the samples work. I totally missed that those were available to look at. Thank you! |
If |
Currently we need to build core each time via unstable build-std featue
The text was updated successfully, but these errors were encountered: