-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
flutter create --template package_ffi my_package
creates a template detailing how to compile C code.
We should consider adding a --language
option with c
, cpp
, , objective-c
swift
, rust
, and go
.
-
cpp
should be almost identical toc
, but have a cpp file and useextern "c"
and set the language in the hook. -
Objective-C ditto. - Swift might need some extra steps. @liamappelbe
- Rust can use cbindgen and native_toolchain_rust
- Go can use native_toolchain_go
This would slightly ease exploring native interop with the various languages.
(Side note, we should also figure out how to share templates between flutter create
and dart create
. As these templates are not flutter specific.)
cosminbodnariuc, brandon3343, MateusHBR, iapicca and maRci002AbdeMohlbi
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team