Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Robert Knight
Is it possible to use stuff from libextra within libstd? It seems to me that it would set up a circular dependency Even if it was possible technically, probably not a good idea from a maintenance perspective to have such dependencies. On 4 November 2013 07:10, Martin DeMello

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Brian Anderson
On 11/03/2013 11:10 PM, Martin DeMello wrote: I've been looking at https://github.com/mozilla/rust/issues/6085 which seems like it should be fairly simple to fix, however, the proposed solution involves EnumSet from libextra. Is it possible to use stuff from libextra within libstd? It seems to

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Gaetan
hello I'm new in the rust dev list, so sorry if the question has already been rised. But what is the reason to have 2 libraries std/extra? why not gathering all in a single std library? Thanks G. - Gaetan 2013/11/4 Brian Anderson bander...@mozilla.com On 11/03/2013 11:10 PM, Martin

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Brian Anderson
On 11/04/2013 11:00 AM, Gaetan wrote: hello I'm new in the rust dev list, so sorry if the question has already been rised. But what is the reason to have 2 libraries std/extra? why not gathering all in a single std library? There are a few reasons for the split between std and extra. In

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Martin DeMello
How does this work without getting into a dependency loop at build time? martin On Mon, Nov 4, 2013 at 10:55 AM, Brian Anderson bander...@mozilla.com wrote: On 11/03/2013 11:10 PM, Martin DeMello wrote: I've been looking at https://github.com/mozilla/rust/issues/6085 which seems like it

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Gaetan
ok I understand, it will be like python which I really like the modularity. I'm beginning to play a little with std::os as my first rust programming, trying to add missing methods, etc, and I think this should quite strategic to move to libextra and then to be splitted appart, this would solve

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Brian Anderson
On 11/04/2013 02:39 PM, Martin DeMello wrote: How does this work without getting into a dependency loop at build time? The std under test is not *actually* the standard library as seen by compiler and runtime; as far as the compiler is concerned it is just some library compiled with --test,

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Brian Anderson
On 11/04/2013 03:09 PM, Gaetan wrote: ok I understand, it will be like python which I really like the modularity. I'm beginning to play a little with std::os as my first rust programming, trying to add missing methods, etc, and I think this should quite strategic to move to libextra and then

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Martin DeMello
okay, i figure niko might want to do this himself, but i've marked my interest on the bug if he doesn't. martin On Mon, Nov 4, 2013 at 4:42 PM, Brian Anderson bander...@mozilla.com wrote: On 11/04/2013 03:09 PM, Gaetan wrote: ok I understand, it will be like python which I really like the

Re: [rust-dev] Using libextra within libstd?

2013-11-04 Thread Brian Anderson
On 11/04/2013 04:59 PM, Martin DeMello wrote: okay, i figure niko might want to do this himself, but i've marked my interest on the bug if he doesn't. Ask niko for advice about the design, but he will be *happy* to let you do it, guaranteed. ___

[rust-dev] Using libextra within libstd?

2013-11-03 Thread Martin DeMello
I've been looking at https://github.com/mozilla/rust/issues/6085 which seems like it should be fairly simple to fix, however, the proposed solution involves EnumSet from libextra. Is it possible to use stuff from libextra within libstd? It seems to me that it would set up a circular dependency,

Re: [rust-dev] Using libextra within libstd?

2013-11-03 Thread Daniel Micay
On Mon, Nov 4, 2013 at 2:10 AM, Martin DeMello martindeme...@gmail.comwrote: I've been looking at https://github.com/mozilla/rust/issues/6085 which seems like it should be fairly simple to fix, however, the proposed solution involves EnumSet from libextra. Is it possible to use stuff from