Skip to content

refactor: remove source copying rules#14535

Draft
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-wyyoytnkznnz
Draft

refactor: remove source copying rules#14535
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-wyyoytnkznnz

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

Making source copying a rule turns out to have numerous disadvantages:

  1. requires digesting the source files
  2. adds a bunch of overhead to the engine
  3. complicates the guarantees we provide for all other rules. Ideally, build inputs for all rules should be immutable. Source copying rules immediately break that.

Making source copying a rule turns out to have numerous disadvantages:

1. requires digesting the source files
2. adds a bunch of overhead to the engine
3. complicates the guarantees we provide for all other rules. Ideally,
   build inputs for all rules should be immutable. Source copying rules
   immediately break that.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free to 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.

1 participant