Skip to content

Commit 201beb8

Browse files
Nero5023facebook-github-bot
authored andcommitted
Add namesapce to global
Summary: RFC: https://fb.workplace.com/groups/buck2dev/permalink/3984941291793913/ This diff adds `namespace` to global, will be used in the later diff to help generate docs Reviewed By: JakobDegen Differential Revision: D73700604 fbshipit-source-id: 319d03cb6f64aa2028690f16f7d244b2f26772c5
1 parent a3a0d92 commit 201beb8

File tree

2 files changed

+4
-0
lines changed
  • app/buck2_interpreter_for_build/src/interpreter
  • tests/core/docs/test_builtin_docs_data/buck2-golden-docs/starlark

2 files changed

+4
-0
lines changed

app/buck2_interpreter_for_build/src/interpreter/globals.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ pub fn starlark_library_extensions_for_buck2() -> &'static [LibraryExtension] {
115115
LibraryExtension::Internal,
116116
LibraryExtension::CallStack,
117117
LibraryExtension::SetType,
118+
LibraryExtension::NamespaceType,
118119
]
119120
}
120121

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This file is @generated, regenerate by re-running test with `-- --env BUCK2_UPDATE_GOLDEN=1` appended to the test command
2+
3+
# namespace

0 commit comments

Comments
 (0)