[PATCH v2 2/3] scripts: generate_rust_target: enable building on RISC-V
Conor Dooley
conor at kernel.org
Tue Feb 27 10:24:06 PST 2024
On Tue, Feb 27, 2024 at 07:11:17PM +0100, Miguel Ojeda wrote:
> On Tue, Feb 27, 2024 at 6:48 PM Conor Dooley <conor at kernel.org> wrote:
> For instance, to disable the compressed instructions, from what I can
> tell, the flag I mentioned seems to work, so that is fine.
To me, using flags is a good fit given that's what we do elsewhere,
and there won't be a mix of stuff that is done conditionally in a
script and conditionally in a Makefile.
> However,
> for something like tweaking the data layout for `n64` instead of
> `n32:64`, I am not aware of a way to do so via a flag (but I see newer
> LLVM uses `n32:64`, so that may be the better one anyway:
> https://godbolt.org/z/Eh4cfdeMr).
Yeah, I had looked at the blame for the targets earlier today and
noticed that it had been changed. Sadly rustc's commit is lacking
any justification whatsoever for the change, so I was not going to
really comment on that until I had looked.
> So it all depends on whether you are happy with what the flags
> approach already give you.
>
> I hope that clarifies a bit!
Ye, thanks. I'll give it a go when I have a bit of time this week.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240227/69d273e6/attachment.sig>
More information about the linux-riscv
mailing list