-
Notifications
You must be signed in to change notification settings - Fork 387
chore!: Make file manager read-only to the compiler #3760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
7e0a3d1
make `find_module` be an immutable reference
kevaundray b2ff05b
add method in nargo that pre-populates the FileManager
kevaundray 5592348
change add_file to `name_to_id` -- we assume that the file manager ha…
kevaundray d5fd4e0
cargo
kevaundray 2f137b7
Update tooling/nargo/src/lib.rs
kevaundray 41ae81f
add a method in file manager that allows us to add a file with its so…
kevaundray c7f576c
add deprecation TODO to file_reader
kevaundray a2460e6
add stdlib file in noirc_driver that returns the stdlib paths alongsi…
kevaundray 270a0f4
add the contents of the stdlib whenever we call prepare_crate
kevaundray 52d33a5
cargo
kevaundray a38c27c
cargo fmt
kevaundray 6a5bf33
move tempfile to dev dependencies
kevaundray f72ce99
add files into file manager in test since find_module does not add fi…
kevaundray b30ad54
insert all files for this packages dependencies into the file manager…
kevaundray 15a94ee
cargo fmt
kevaundray 4599361
remove un-needed fully qualified path
kevaundray f20109e
Add note on stdlib
kevaundray 4413350
cargo fmt
kevaundray d6a24e8
add comment to process_dep_graph and fix setup_test_context
kevaundray 552a4dd
replace expect with unwrap_or_else: expect doesn't allow you to add p…
kevaundray 3f8551b
try: add a `PathToFileSourceMap` object
kevaundray dd94b46
remove extraneous forward slash
kevaundray 3495de5
add file_manager_with_source_map method so we ensure that FileManager…
kevaundray 851fab1
add expect
kevaundray 3cd35fd
fix node tests
kevaundray d2590d5
fix browser tests and naming nit
kevaundray 5b867d5
chore!: Remove `add_file` and `file_reader` from FileManager (#3762)
kevaundray 5ebf83a
Update compiler/fm/src/lib.rs
kevaundray 7a787d7
Merge branch 'master' into kw/make-fm-read-only
kevaundray 419273e
file_reader is no longer being used
kevaundray d120852
Merge branch 'master' into kw/make-fm-read-only
kevaundray 1e9ac97
chore: add simple doc comments for `add_file_with_source` methods
TomAFrench cc92c07
Merge remote-tracking branch 'origin/master' into kw/make-fm-read-only
kevaundray 9aa0bb7
Update tooling/nargo/src/lib.rs
kevaundray 3e26e3c
read entry_path and get all files in its parent
kevaundray 0b53332
clippy
kevaundray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.