Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-26 Thread David Starner via Gcc
On Fri, Jan 26, 2024 at 3:40 PM NightStrike via Gcc wrote: > > On Thu, Jan 25, 2024, 11:27 Iain Sandoe wrote: > > > E.g. with Ada it is possible to port to a new platform by first building a > > cross-compiler and then to use that cross-compiler to build a “native > > cross” (build != host == tar

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-26 Thread NightStrike via Gcc
On Mon, Jan 22, 2024, 12:31 Arthur Cohen wrote: > I am aware that this would mean restricting the Rust > GCC front-end to platforms where the official Rust compiler is also > available, which is less than ideal. However, this would only be > temporary - as soon as the Rust front-end is able to co

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-26 Thread NightStrike via Gcc
On Thu, Jan 25, 2024, 11:27 Iain Sandoe wrote: > E.g. with Ada it is possible to port to a new platform by first building a > cross-compiler and then to use that cross-compiler to build a “native > cross” (build != host == target) to provide an initial compiler on the > target platform. > And th

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-26 Thread Arthur Cohen
Hi Connor, On 1/25/24 16:55, connor horman wrote: Note that it may not make sense to include a source copy of rustc, as that will itself require an (earlier) stage of rustc to build. mrustc can offer a bootstrap for 1.54, but depending on the versions required, you may need upwards of 10 addit

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-26 Thread Arthur Cohen
Hi Iain, On 1/25/24 17:26, Iain Sandoe wrote: Hi Arthur, On 25 Jan 2024, at 15:03, Arthur Cohen wrote: On 1/23/24 08:23, Richard Biener wrote: On Mon, Jan 22, 2024 at 7:51 PM Arthur Cohen wrote: Hi everyone, In order to increase the development speed of Rust features, we are seeking f

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-26 Thread Arthur Cohen
On 1/25/24 19:19, Richard Biener wrote: Am 25.01.2024 um 16:03 schrieb Arthur Cohen : Hi Richard, On 1/23/24 08:23, Richard Biener wrote: On Mon, Jan 22, 2024 at 7:51 PM Arthur Cohen wrote: Hi everyone, In order to increase the development speed of Rust features, we are seeking feed

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-25 Thread Richard Biener via Gcc
> Am 25.01.2024 um 16:03 schrieb Arthur Cohen : > > Hi Richard, > >> On 1/23/24 08:23, Richard Biener wrote: >>> On Mon, Jan 22, 2024 at 7:51 PM Arthur Cohen >>> wrote: >>> >>> Hi everyone, >>> >>> In order to increase the development speed of Rust features, we are >>> seeking feedback on

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-25 Thread Iain Sandoe
Hi Arthur, > On 25 Jan 2024, at 15:03, Arthur Cohen wrote: > On 1/23/24 08:23, Richard Biener wrote: >> On Mon, Jan 22, 2024 at 7:51 PM Arthur Cohen >> wrote: >>> >>> Hi everyone, >>> >>> In order to increase the development speed of Rust features, we are >>> seeking feedback on reusing some

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-25 Thread connor horman via Gcc
Note that it may not make sense to include a source copy of rustc, as that will itself require an (earlier) stage of rustc to build. mrustc can offer a bootstrap for 1.54, but depending on the versions required, you may need upwards of 10 additional rustc sources. On Thu, 25 Jan 2024 at 10:04, Art

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-25 Thread Arthur Cohen
Hi Richard, On 1/23/24 08:23, Richard Biener wrote: On Mon, Jan 22, 2024 at 7:51 PM Arthur Cohen wrote: Hi everyone, In order to increase the development speed of Rust features, we are seeking feedback on reusing some Rust components directly within our front-end. As mentioned in other confe

Re: [Request for Comments] Using Rust libraries in the Rust frontend

2024-01-22 Thread Richard Biener via Gcc
On Mon, Jan 22, 2024 at 7:51 PM Arthur Cohen wrote: > > Hi everyone, > > In order to increase the development speed of Rust features, we are > seeking feedback on reusing some Rust components directly within our > front-end. As mentioned in other conferences, the most important > component we woul