Skip to content
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

Add support to raspberry #103

Open
davic80 opened this issue Jun 3, 2021 · 2 comments
Open

Add support to raspberry #103

davic80 opened this issue Jun 3, 2021 · 2 comments

Comments

@davic80
Copy link

davic80 commented Jun 3, 2021

Hi! when I try to build for raspberry pi 4 I got the following error:

Compiling async-process v1.0.1
error[E0658]: use of unstable library feature 'process_set_argv0'
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/async-process-1.0.1/src/unix.rs:118:20
|
118 | self.inner.arg0(arg);
| ^^^^
|
= note: for more information, see rust-lang/rust#66510

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile async-process.
warning: build failed, waiting for other jobs to finish...
error: build failed


error E0658

An unstable feature was used.

Erroneous code example:

#[repr(u128)] // error: use of unstable library feature 'repr128'
enum Foo {
    Bar(u64),
}

If you're using a stable or a beta version of rustc, you won't be able to use
any unstable features. In order to do so, please switch to a nightly version of
rustc (by using rustup).

If you're using a nightly version of rustc, just add the corresponding feature
to be able to use it:

#![feature(repr128)]

#[repr(u128)] // ok!
enum Foo {
    Bar(u64),
}

(END)

@bvaisvil
Copy link
Owner

Thanks for reporting the issue. What version of rustc are you using to compile ?

@sanyer
Copy link

sanyer commented Jun 22, 2022

It's builds quite well using these commands:

# first, run container with rust with current zenith source folder mounted at /usr/src/myapp
docker run -it --rm -v $PWD:/usr/src/myapp -w /usr/src/myapp rust:1 bash
# and then inside container
apt-get update
apt-get install libclang-dev
make
exit
# and then run it
target/release/zenith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants