[libre-riscv-dev] SPIR-V parser completed except for tests

Jacob Lifshay programmerjake at gmail.com
Wed Oct 31 00:44:47 GMT 2018


The warnings should be fixed, I'm not sure why there is no warning on my
computer.

Jacob

On Tue, Oct 30, 2018 at 2:48 AM lkcl <lkcl at libre-riscv.org> wrote:

> On Tue, Oct 30, 2018 at 9:29 AM Jacob Lifshay <programmerjake at gmail.com>
> wrote:
> >
> > I finished the SPIR-V parser generator in Kazan,
>
> fantastic
>
> > so I'm going to implement
> > some more tests for it, then start working on the SPIR-V to LLVM IR
> > translator.
>
>  cool.
>
> tests pass here.  getting some compiler warnings:
>
>      = note: this `Result` may be an `Err` variant, which should be handled
>      = note: this error originates in a macro outside of the current
> crate (in Nightly builds, run with -Z external-macro-backtrace for
> more info)
>
> warning: unused `std::result::Result` which must be used
>     --> spirv-parser-generator/src/generate.rs:1394:9
>      |
> 1394 | /         writeln!(
> 1395 | |             &mut out,
> 1396 | |             "{}",
> 1397 | |             stringify!(
> ...    |
> 1431 | |             )
> 1432 | |         );
>      | |__________^
>      |
>      = note: this `Result` may be an `Err` variant, which should be handled
>      = note: this error originates in a macro outside of the current
> crate (in Nightly builds, run with -Z external-macro-backtrace for
> more info)
>
>
> >
> https://salsa.debian.org/Kazan-team/kazan/commit/874c15e940487b4dc9c354f568d63490f121dbb5
> >
> > Jacob
> > _______________________________________________
> > libre-riscv-dev mailing list
> > libre-riscv-dev at lists.libre-riscv.org
> > http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
>
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev at lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
>


More information about the libre-riscv-dev mailing list