Commit 23f5ed0
committed
feat(build): graduate Rust cargo-lambda support from experimental
Remove the experimental/beta flag requirement for building Rust functions
with the rust-cargolambda build method. Users no longer need to pass
--beta-features or set SAM_CLI_BETA_RUST_CARGO_LAMBDA=1 to build Rust
Lambda functions.
Changes:
- Remove RustCargoLambda from ExperimentalFlag class
- Remove _check_rust_cargo_experimental_flag() method from BuildContext
- Update integration tests to not require beta_features flag
- Update unit tests to remove mock for deleted method1 parent f37dc09 commit 23f5ed0
File tree
4 files changed
+1
-25
lines changed- samcli/commands
- _utils
- build
- tests
- integration/buildcmd
- unit/commands/buildcmd
4 files changed
+1
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
284 | | - | |
285 | 283 | | |
286 | 284 | | |
287 | 285 | | |
| |||
696 | 694 | | |
697 | 695 | | |
698 | 696 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | 697 | | |
719 | 698 | | |
720 | 699 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
1144 | | - | |
| 1144 | + | |
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1254 | 1254 | | |
1255 | 1255 | | |
1256 | 1256 | | |
1257 | | - | |
1258 | 1257 | | |
1259 | 1258 | | |
1260 | 1259 | | |
1261 | 1260 | | |
1262 | 1261 | | |
1263 | 1262 | | |
1264 | | - | |
1265 | 1263 | | |
1266 | 1264 | | |
1267 | 1265 | | |
| |||
0 commit comments