enough-analyst-54434
03/21/2020, 3:38 PMwitty-crayon-22786
03/21/2020, 11:45 PMwitty-crayon-22786
03/21/2020, 11:45 PMwitty-crayon-22786
03/21/2020, 11:45 PMwitty-crayon-22786
03/21/2020, 11:46 PMhundreds-breakfast-49010
03/22/2020, 12:03 AMhundreds-breakfast-49010
03/22/2020, 12:04 AMhundreds-breakfast-49010
03/22/2020, 12:05 AMwitty-crayon-22786
03/22/2020, 12:06 AMwitty-crayon-22786
03/22/2020, 12:07 AMhundreds-breakfast-49010
03/22/2020, 12:07 AMwitty-crayon-22786
03/22/2020, 12:08 AMhundreds-breakfast-49010
03/22/2020, 12:08 AM./pants on the command linewitty-crayon-22786
03/22/2020, 12:08 AMhundreds-breakfast-49010
03/22/2020, 12:08 AMhundreds-breakfast-49010
03/22/2020, 12:09 AMwitty-crayon-22786
03/22/2020, 12:09 AM--enable-pantsd itself, the hack would be small.hundreds-breakfast-49010
03/22/2020, 12:09 AMBootstrapOptions, which would reduce code duplication)enough-analyst-54434
03/22/2020, 12:10 AMwitty-crayon-22786
03/22/2020, 12:10 AMhundreds-breakfast-49010
03/22/2020, 12:10 AMwitty-crayon-22786
03/22/2020, 12:11 AMwitty-crayon-22786
03/22/2020, 12:11 AMenable_pantsd flag and nothing else could be achieved much more quickly.hundreds-breakfast-49010
03/22/2020, 12:12 AMwitty-crayon-22786
03/22/2020, 12:12 AMwitty-crayon-22786
03/22/2020, 12:12 AMhundreds-breakfast-49010
03/22/2020, 12:12 AMpants and that shell script does a bunch of bootstrapping stuff with python, and I don't understand all the dteails of how that workswitty-crayon-22786
03/22/2020, 12:13 AMwitty-crayon-22786
03/22/2020, 12:13 AMenough-analyst-54434
03/22/2020, 12:13 AMwitty-crayon-22786
03/22/2020, 12:14 AMwitty-crayon-22786
03/22/2020, 12:14 AMhundreds-breakfast-49010
03/22/2020, 12:14 AMpants binary should be a compiled rust binary?enough-analyst-54434
03/22/2020, 12:14 AMwitty-crayon-22786
03/22/2020, 12:15 AMwitty-crayon-22786
03/22/2020, 12:15 AMhundreds-breakfast-49010
03/22/2020, 12:15 AMhundreds-breakfast-49010
03/22/2020, 12:15 AMwitty-crayon-22786
03/22/2020, 12:16 AMenough-analyst-54434
03/22/2020, 12:16 AMhundreds-breakfast-49010
03/22/2020, 12:16 AMwitty-crayon-22786
03/22/2020, 12:16 AMwitty-crayon-22786
03/22/2020, 12:16 AMhundreds-breakfast-49010
03/22/2020, 12:17 AMhundreds-breakfast-49010
03/22/2020, 12:17 AMhundreds-breakfast-49010
03/22/2020, 12:17 AMwitty-crayon-22786
03/22/2020, 12:18 AMwitty-crayon-22786
03/22/2020, 12:18 AMhundreds-breakfast-49010
03/22/2020, 12:19 AMwitty-crayon-22786
03/22/2020, 12:20 AMwitty-crayon-22786
03/22/2020, 12:20 AMenough-analyst-54434
03/22/2020, 12:20 AMenough-analyst-54434
03/22/2020, 12:20 AMwitty-crayon-22786
03/22/2020, 12:21 AMenough-analyst-54434
03/22/2020, 12:21 AMhundreds-breakfast-49010
03/22/2020, 12:21 AMpants_cli, and in the pants shell script we'd swap out the line exec "${pants_dir}/bin/python" "${pants_dir}/bin/pants" "$@" for just ./pants_clihundreds-breakfast-49010
03/22/2020, 12:21 AMpants_cli would have to figure out how to do the same stuff that that shell script does, in the case where we're not using pantsdhundreds-breakfast-49010
03/22/2020, 12:22 AMenough-analyst-54434
03/22/2020, 12:22 AMwitty-crayon-22786
03/22/2020, 12:22 AMwitty-crayon-22786
03/22/2020, 12:23 AMhundreds-breakfast-49010
03/22/2020, 12:24 AMbootstrap_pants function?witty-crayon-22786
03/22/2020, 12:25 AMwitty-crayon-22786
03/22/2020, 12:25 AMcargo run $mybinary from the pants script.hundreds-breakfast-49010
03/22/2020, 12:25 AMpants as installed in a random test repohundreds-breakfast-49010
03/22/2020, 12:25 AMpants in the pants repo is differentwitty-crayon-22786
03/22/2020, 12:26 AMhundreds-breakfast-49010
03/22/2020, 12:26 AMhundreds-breakfast-49010
03/22/2020, 12:28 AM<https://pantsbuild.github.io/setup/pants>hundreds-breakfast-49010
03/22/2020, 12:31 AMwitty-crayon-22786
03/22/2020, 12:45 AMwitty-crayon-22786
03/22/2020, 12:46 AMhundreds-breakfast-49010
03/22/2020, 12:47 AMwitty-crayon-22786
03/22/2020, 12:48 AMwitty-crayon-22786
03/22/2020, 12:48 AMhundreds-breakfast-49010
03/22/2020, 12:50 AM./pants <whatever> at the command line start up a rust program that does the initialization work we currently do in python, with the expectation that I might write this and submit a PR next week. it's very possible that I'm missing something important that would make this easier to do or harder to do than I think it would, because I personally lack familiarity with something other people already know abouthundreds-breakfast-49010
03/22/2020, 12:52 AMwitty-crayon-22786
03/22/2020, 12:53 AMwitty-crayon-22786
03/22/2020, 12:53 AMhundreds-breakfast-49010
03/22/2020, 12:54 AMhundreds-breakfast-49010
03/22/2020, 12:55 AMwitty-crayon-22786
03/22/2020, 12:55 AMhundreds-breakfast-49010
03/22/2020, 12:55 AMnative_engine.so lib we already build?witty-crayon-22786
03/22/2020, 12:56 AMengine crate.witty-crayon-22786
03/22/2020, 12:56 AMhundreds-breakfast-49010
03/22/2020, 12:57 AMhundreds-breakfast-49010
03/22/2020, 12:58 AMhundreds-breakfast-49010
03/22/2020, 12:58 AMwitty-crayon-22786
03/22/2020, 1:00 AMwitty-crayon-22786
03/22/2020, 1:00 AMwitty-crayon-22786
03/22/2020, 1:01 AMwitty-crayon-22786
03/22/2020, 1:01 AMcargo run $binary in the pantsbuild/pants repo because it would allow you to completely ignore packaging until the whole thing is working end to endwitty-crayon-22786
03/22/2020, 1:08 AMbuild-support/bin/native/cargo run $binary , in order to use our bootstrapped cargo and rust)