mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 09:26:15 -06:00
add nowasm build tags to moderncsqlite files
This commit is contained in:
parent
74659cb977
commit
1fc5cd6ab6
5 changed files with 4 additions and 10 deletions
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//go:build !moderncsqlite3
|
||||
//go:build !moderncsqlite3 && !nowasm
|
||||
|
||||
package sqlite
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//go:build moderncsqlite3
|
||||
//go:build moderncsqlite3 || nowasm
|
||||
|
||||
package sqlite
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//go:build !moderncsqlite3
|
||||
//go:build !moderncsqlite3 && !nowasm
|
||||
|
||||
package sqlite
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//go:build moderncsqlite3
|
||||
//go:build moderncsqlite3 || nowasm
|
||||
|
||||
package sqlite
|
||||
|
||||
|
|
|
|||
|
|
@ -43,12 +43,6 @@ var (
|
|||
ffprobe wazero.CompiledModule
|
||||
)
|
||||
|
||||
// Args encapsulates the passing of common
|
||||
// configuration options to run an instance
|
||||
// of a compiled WebAssembly module that is
|
||||
// run in a typical CLI manner.
|
||||
type Args = wasm.Args
|
||||
|
||||
// compileFfmpeg ensures the ffmpeg WebAssembly has been
|
||||
// pre-compiled into memory. If already compiled is a no-op.
|
||||
func compileFfmpeg(ctx context.Context) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue