yuyang-ok commented on issue #5078:
@afonso360 @bjorn3 I think we are ready.
yuyang-ok commented on issue #5078:
@bjorn3 @afonso360 I think we are ready.
afonso360 commented on issue #5078:
This looks correct to me.
yuyang-ok commented on issue #5078:
I think I am in favour of store
num_cpu
in static. @cfallin @bjorn3 @afonso360
yuyang-ok edited a comment on issue #5078:
I think I am in favour of store
num_cpu
in static. @cfallin @bjorn3 @afonso360
feature is hard to used.
yuyang-ok edited a comment on issue #5078:
I think I am in favour of store
num_cpu
in static. @cfallin @bjorn3 @afonso360
feature is hard to use.
yuyang-ok commented on issue #5078:
I am having this error.
yuyang@yuyang-Inspiron-7590:~/projects/wasmtime/crates/jit-icache-coherence$ cargo t --target riscv64gc-unknown-linux-gnu
Compiling wasmtime-jit-icache-coherence v2.0.0 (/home/yuyang/projects/wasmtime/crates/jit-icache-coherence)
error[E0015]: cannot call non-const fn num_cpus::get
in statics
--> crates/jit-icache-coherence/src/libc.rs:12:35
|
12 | static NUM_CPUS: usize = unsafe { num_cpus::get() };
| ^^^^^^^^^^^^^^^
|
= note: calls in statics are limited to constant functions, tuple structs and tuple variants
For more information about this error, try rustc --explain E0015
.
error: could not compile wasmtime-jit-icache-coherence
due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile wasmtime-jit-icache-coherence
due to previous error
In rust I have to use `lazy_static` to assign this value??
yuyang-ok deleted a comment on issue #5078:
I am having this error.
yuyang@yuyang-Inspiron-7590:~/projects/wasmtime/crates/jit-icache-coherence$ cargo t --target riscv64gc-unknown-linux-gnu
Compiling wasmtime-jit-icache-coherence v2.0.0 (/home/yuyang/projects/wasmtime/crates/jit-icache-coherence)
error[E0015]: cannot call non-const fn num_cpus::get
in statics
--> crates/jit-icache-coherence/src/libc.rs:12:35
|
12 | static NUM_CPUS: usize = unsafe { num_cpus::get() };
| ^^^^^^^^^^^^^^^
|
= note: calls in statics are limited to constant functions, tuple structs and tuple variants
For more information about this error, try rustc --explain E0015
.
error: could not compile wasmtime-jit-icache-coherence
due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile wasmtime-jit-icache-coherence
due to previous error
In rust I have to use `lazy_static` to assign this value??
yuyang-ok commented on issue #5078:
@bjorn3 @afonso360 @alexcrichton @cfallin I think we are ready.
yuyang-ok commented on issue #5078:
@cfallin Are we going to merge this or not?
yuyang-ok commented on issue #5078:
@cfallin Yeah,I can rebase.:-)
cfallin commented on issue #5078:
@yuyang-ok unfortunately this seems to be failing a number of tests now -- bad merge?
Last updated: Nov 22 2024 at 17:03 UTC