Skip to content

syntax: Move ast_map into it's own crate - #24757

Closed
erickt wants to merge 1 commit into
rust-lang:masterfrom
erickt:split-libsyntax
Closed

syntax: Move ast_map into it's own crate#24757
erickt wants to merge 1 commit into
rust-lang:masterfrom
erickt:split-libsyntax

Conversation

@erickt

Copy link
Copy Markdown
Contributor

This lets us remove the arena dependency from libsyntax, which is unstable, and supports making libsyntax compile on beta/1.0 (#24518).

r? @alexcrichton

@erickterickt changed the title syntax: Move ast_map into it's own modulesyntax: Move ast_map into it's own crateApr 24, 2015
@erickt
ericktforce-pushed the split-libsyntax branch 2 times, most recently from 7ea8f33 to fec0421CompareApril 24, 2015 03:46
@alexcrichton

Copy link
Copy Markdown
Member

r? @nikomatsakis, @pnkfelix, or @nrc, I don't mess around with compiler internals enough on this I think.

@nikomatsakis

Copy link
Copy Markdown
Contributor

I have no objection, but I wonder if this should be a rustc crate? Seems pretty specific to the compiler.

@erickt

Copy link
Copy Markdown
ContributorAuthor

@nikomatsakis: I had thought it could be useful for future syntax extensions, but I suppose if we go down that road we can always rename rustc_ast_map to syntax_ast_map. I'll change the name.

@richo

Copy link
Copy Markdown
Contributor

I haven't touched this codebase in a long time (and even then it was super
experimental, I was just curious to see how feasible this approach was),
but are changes like this going to affect visibility for something like:
https://github.com/richo/commavm/blob/master/src/main.rs#L1-L5

On Sun, Apr 26, 2015 at 12:55 PM, Erick Tryzelaar notifications@github.com
wrote:

@nikomatsakishttps://github.com/nikomatsakis: I had thought it could
be useful for future syntax extensions, but I suppose if we go down that
road we can always rename rustc_ast_map to syntax_ast_map. I'll change
the name.


Reply to this email directly or view it on GitHub
#24757 (comment).

@erickt

Copy link
Copy Markdown
ContributorAuthor

@alexcrichton / @nikomatsakis: Updated the PR to rename this new package to rustc_ast_map.

@richo: As far as I can tell you're not using ast_map, so this shouldn't impact you. I suggest you check out syntex though, which hopefully will allow for syntax extensions in 1.0 :)

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+ ecef439

@bors

bors commented Apr 27, 2015

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #23606) made this pull request unmergeable. Please resolve the merge conflicts.

@bors

bors commented Apr 28, 2015

Copy link
Copy Markdown
Collaborator

🔒 Merge conflict

This lets us remove the arena dependency from libsyntax, which
is unstable.
@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented May 5, 2015

Copy link
Copy Markdown
Collaborator

📌 Commit 19f1a15 has been approved by nikomatsakis

@bors

bors commented May 5, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 19f1a15 with merge 5770f07...

@bors

bors commented May 5, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-mac-64-nopt-t

@bors

bors commented May 12, 2015

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #25323) made this pull request unmergeable. Please resolve the merge conflicts.

@Gankra

Copy link
Copy Markdown
Contributor

@erickt ping (needs rebase)

bors added a commit that referenced this pull request Jun 10, 2015
Gets libsyntax one step closer to running on stable (see #24518).
Closes#24757, erickt's previous attempt at this.
bors added a commit that referenced this pull request Jun 10, 2015
Gets libsyntax one step closer to running on stable (see #24518).
Closes#24757, erickt's previous attempt at this.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@erickt@alexcrichton@nikomatsakis@richo@bors@Gankra