Skip to content

Commit

Permalink
Add a number of unresolved questions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Aug 22, 2016
1 parent 2fa187d commit ac22573
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions text/0000-macros-1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,3 +559,16 @@ pub struct Foo {
crates twice, once as `rustc-macro` and once as an rlib. Does Cargo have
enough information to do this? Are the extensions needed here
backwards-compatible?

* What sort of guarantees will be provided about the runtime environment for
plugins? Are they sandboxed? Are they run in the same process?

* Should the name of this library be `rustc_macros`? The `rustc_` prefix
normally means "private". Other alternatives are `macro` (make it a contextual
keyword), `macros`, `proc_macro`.

* Should a `Context` or similar style argument be threaded through the APIs?
Right now they sort of implicitly require one to be threaded through
thread-local-storage.

* Should the APIs here be namespaced, perhaps with a `_1_1` suffix?

0 comments on commit ac22573

Please sign in to comment.