Skip to content

Commit ac22573

Browse files
committed
Add a number of unresolved questions
1 parent 2fa187d commit ac22573

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

text/0000-macros-1.1.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,3 +559,16 @@ pub struct Foo {
559559
crates twice, once as `rustc-macro` and once as an rlib. Does Cargo have
560560
enough information to do this? Are the extensions needed here
561561
backwards-compatible?
562+
563+
* What sort of guarantees will be provided about the runtime environment for
564+
plugins? Are they sandboxed? Are they run in the same process?
565+
566+
* Should the name of this library be `rustc_macros`? The `rustc_` prefix
567+
normally means "private". Other alternatives are `macro` (make it a contextual
568+
keyword), `macros`, `proc_macro`.
569+
570+
* Should a `Context` or similar style argument be threaded through the APIs?
571+
Right now they sort of implicitly require one to be threaded through
572+
thread-local-storage.
573+
574+
* Should the APIs here be namespaced, perhaps with a `_1_1` suffix?

0 commit comments

Comments
 (0)