v8 0.48.1

Rust bindings to V8
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#[cxx::bridge]
mod ffi {
    extern "Rust" {
        fn print_message_from_rust();
    }
}

fn print_message_from_rust() {
    println!("Here is a message from Rust.")
}