build: add the task to automatically attach disconnected path.
Not yet enabled on build, as the profiles still require some testing.
This commit is contained in:
parent
e90ccd214c
commit
273485217c
2 changed files with 71 additions and 1 deletions
|
|
@ -88,8 +88,13 @@ func Prebuild() {
|
|||
if abi != nilABI {
|
||||
prebuild.ABI = abi
|
||||
}
|
||||
if prebuild.ABI == 3 {
|
||||
switch prebuild.ABI {
|
||||
case 3:
|
||||
builder.Register("abi3") // Convert all profiles from abi 4.0 to abi 3.0
|
||||
case 4:
|
||||
// builder.Register("attach") // Re-attach disconnect path
|
||||
default:
|
||||
logging.Fatal("Invalid ABI version: %d", prebuild.ABI)
|
||||
}
|
||||
|
||||
if file != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue