-
Notifications
You must be signed in to change notification settings - Fork 131
[SLT] Fix SLT code generation broken by the introduction of compiler-produced regions #6348
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -448,6 +448,9 @@ public static void runProcess(String directory, String... commands) throws IOExc | |
| runProcess(directory, new HashMap<>(), commands); | ||
| } | ||
|
|
||
| /** Number of cargo jobs to use when testing locally */ | ||
| static final int LOCAL_CARGO_JOBS = 6; | ||
|
|
||
| static final HashMap<String, String> STACK = new HashMap<>() {{ put("RUST_MIN_STACK", "8388608"); }}; | ||
|
|
||
| static void compileAndTest(String directory, boolean quiet, String... extraArgs) throws IOException, InterruptedException { | ||
|
|
@@ -456,7 +459,7 @@ static void compileAndTest(String directory, boolean quiet, String... extraArgs) | |
| args.add("test"); | ||
| if (!Utilities.inCI()) { | ||
| args.add("--jobs"); | ||
| args.add("20"); | ||
| args.add(Integer.toString(LOCAL_CARGO_JOBS)); | ||
| } | ||
| args.addAll(Arrays.asList(extraArgs)); | ||
| if (quiet) { | ||
|
|
@@ -498,9 +501,9 @@ public static void compileAndCheckRust(String directory, boolean quiet, String.. | |
| List<String> args = new ArrayList<>(); | ||
| args.add("cargo"); | ||
| args.add("check"); | ||
| if (Utilities.inCI()) { | ||
| if (!Utilities.inCI()) { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Behavior change here: the condition was |
||
| args.add("--jobs"); | ||
| args.add("6"); | ||
| args.add(Integer.toString(LOCAL_CARGO_JOBS)); | ||
| } | ||
| if (quiet) | ||
| args.add("--quiet"); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| warning: unused variable: `pipeline_config` | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks accidentally committed — stale cargo warning output with a local |
||
| --> /home/mbudiu/git/feldera/crates/adapters/src/integrated.rs:97:5 | ||
| | | ||
| 97 | pipeline_config: &PipelineConfig, | ||
| | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipeline_config` | ||
| | | ||
| = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default | ||
|
|
||
| warning: unused variable: `runtime_env` | ||
| --> /home/mbudiu/git/feldera/crates/adapters/src/integrated.rs:98:5 | ||
| | | ||
| 98 | runtime_env: Arc<RuntimeEnv>, | ||
| | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime_env` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth a one-line comment on why
compileAndCheckRustcaps jobs only outside CI whilecompileAndTestdoes the same — symmetric now (good), but the original asymmetric version was almost certainly a typo nobody noticed. A short// Cap parallelism locally; CI controls -j via envnext to both branches would prevent the next person from re-flipping it.