Skip to content

Commit

Permalink
win build
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d committed Jun 4, 2024
1 parent 40d74af commit 2aded0c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ $transaction->merge("json_obj_key", "employees[0].last_name = dow", "new_cf"); /

## Important Note

Before creating a new instance of any class (e.g., `RocksDB`, `RocksDBIterator`, `RocksDBBackup`, `RocksDBWriteBatch`, `RocksDBSnapshot`, `RocksDBTransaction`), ensure to destroy the previous instance to free up the database connection.
Before creating a new instance of any class (e.g., `RocksDB`, `RocksDBBackup`, `RocksDBWriteBatch`, `RocksDBTransaction`), ensure to destroy the previous instance to free up the database connection.

```php
<?php
Expand Down
2 changes: 0 additions & 2 deletions src/backup.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![cfg_attr(all(windows, target_arch = "x86_64"), feature(abi_vectorcall))]

use ext_php_rs::prelude::*;
use rust_rocksdb::backup::{BackupEngine, BackupEngineOptions, RestoreOptions};
use rust_rocksdb::{Env, Options, DB};
Expand Down
2 changes: 0 additions & 2 deletions src/transaction.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![cfg_attr(all(windows, target_arch = "x86_64"), feature(abi_vectorcall))]

use ext_php_rs::prelude::*;
use rust_rocksdb::{
Options, Transaction, TransactionDB, TransactionDBOptions, TransactionOptions, WriteOptions,
Expand Down
2 changes: 0 additions & 2 deletions src/write_batch.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![cfg_attr(all(windows, target_arch = "x86_64"), feature(abi_vectorcall))]

use ext_php_rs::prelude::*;
use rust_rocksdb::{Options, WriteBatchWithTransaction, DB};
use std::sync::{Arc, Mutex};
Expand Down

0 comments on commit 2aded0c

Please sign in to comment.